150 lines
3.8 KiB
XML
150 lines
3.8 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<LinearLayout
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:id="@+id/backgrounddesign"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:background="@drawable/greybordersales"
|
||
|
|
android:divider="@drawable/custom_divider"
|
||
|
|
android:showDividers="middle">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/serialNo"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.2"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:gravity="center"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:paddingVertical="10dp"
|
||
|
|
android:layout_marginEnd="8dp"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="1"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/item"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="2.5"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:paddingVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginEnd="8dp"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="1"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/mrp"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.2"
|
||
|
|
android:layout_marginEnd="8dp"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:gravity="center"
|
||
|
|
android:paddingVertical="10dp"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="1"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/discount"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginEnd="8dp"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:paddingVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="1"
|
||
|
|
android:textSize="@dimen/dp_14" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/qty"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginEnd="8dp"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:paddingVertical="10dp"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="1"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/rate"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginEnd="8dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:paddingVertical="10dp"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="1"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/amount"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:gravity="center"
|
||
|
|
android:paddingVertical="10dp"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:layout_marginEnd="8dp"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="1"/>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/editbtn"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.7"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center"
|
||
|
|
android:paddingVertical="10dp"
|
||
|
|
android:layout_marginEnd="8dp"
|
||
|
|
android:layout_gravity="center">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/edit"
|
||
|
|
android:layout_width="15dp"
|
||
|
|
android:layout_height="15dp"
|
||
|
|
android:src="@drawable/edit_icon"
|
||
|
|
app:tint="@color/black">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/deleteIcon"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.7"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/delete"
|
||
|
|
android:layout_width="15dp"
|
||
|
|
android:layout_height="15dp"
|
||
|
|
android:src="@drawable/trash_can_delete"
|
||
|
|
app:tint="@color/red">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|