193 lines
6.6 KiB
XML
193 lines
6.6 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginTop="5dp">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/slno"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="SL.NO"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/Product_Details"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
<ImageView
|
||
|
|
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:src="@drawable/eye"
|
||
|
|
android:tint="@color/primary_blue"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginHorizontal="5dp"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/ReceivedQty"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="ReceivedQty"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/BalanceQty"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="BalanceQty"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/QR_Code"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:text=" QR Code"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/Print_QRCode"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_weight="1.1">
|
||
|
|
<ImageView
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_width="30dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:background="@drawable/baseline_print_24"
|
||
|
|
android:backgroundTint="@color/primary_blue">
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/Total_Price"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:text="Total Price"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/Discount_Type"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:drawableRight="@drawable/down_arrow"
|
||
|
|
android:text="Discount Type"
|
||
|
|
android:hint="Fixed"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/Discount_Amount"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:background="@drawable/border"
|
||
|
|
android:backgroundTint="@color/white"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:digits="0123456789"
|
||
|
|
android:inputType="number|textNoSuggestions"
|
||
|
|
android:hint="discount amt"
|
||
|
|
android:textColor="@color/black">
|
||
|
|
</EditText>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/Offer_Amount"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:text="Offer Amount"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="3">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/deleteLL"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginHorizontal="5dp"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_marginTop="3dp"
|
||
|
|
android:src="@drawable/trash_can_delete"
|
||
|
|
android:layout_marginHorizontal="5dp"
|
||
|
|
android:tint="@color/red">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|