399 lines
11 KiB
XML
399 lines
11 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<RelativeLayout
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:background="@drawable/sales_screen_10dp"
|
||
|
|
android:backgroundTint="@color/lightgreybackground"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_margin="15dp"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/itemcontainar"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/combochange"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:padding="@dimen/dp_10"
|
||
|
|
android:background="@drawable/summary_top_radius">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.2">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginTop="@dimen/dp_8"
|
||
|
|
android:layout_marginLeft="@dimen/dp_15"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:focusable="false"
|
||
|
|
android:clickable="false"
|
||
|
|
android:id="@+id/advanceAmountIV"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:src="@drawable/advance_amount_icon"
|
||
|
|
app:tint="#808080" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:visibility="gone"
|
||
|
|
android:id="@+id/creditCustomers"
|
||
|
|
android:layout_marginLeft="15dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_width="30dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:background="@drawable/icon_credit_customer">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="gone"
|
||
|
|
android:id="@+id/btnhold_Cmn"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:layout_width="30dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
android:layout_centerHorizontal="true"
|
||
|
|
android:background="@drawable/hand"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme" />
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/handsym"
|
||
|
|
android:layout_width="27dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:src="@drawable/unpaid"
|
||
|
|
android:visibility="gone" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/billingaddCustomer"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginEnd="8dp"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="35dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:background="@drawable/grey_bordernew1">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="27dp"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text=" Select Customer "
|
||
|
|
android:inputType="textNoSuggestions"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:drawableRight="@drawable/dropdown"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="13dp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_width="20dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_marginStart="@dimen/dp_10"
|
||
|
|
android:background="@drawable/user"
|
||
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible"/>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:layout_marginStart="5dp"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_weight="1.3"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:layout_marginHorizontal="3dp"
|
||
|
|
android:background="@color/selectedGreen"
|
||
|
|
android:text="Cash"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textStyle="bold">
|
||
|
|
|
||
|
|
</Button>
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:background="@color/layoutBlueTheme"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:text="Card">
|
||
|
|
|
||
|
|
</Button>
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:layout_marginHorizontal="3dp"
|
||
|
|
android:background="@color/layoutBlueTheme"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:text="UPi">
|
||
|
|
|
||
|
|
</Button>
|
||
|
|
<Button
|
||
|
|
android:id="@+id/advanceAmountLL"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_width="65dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:background="@color/layoutBlueTheme"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:text="Credit">
|
||
|
|
|
||
|
|
</Button>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<View
|
||
|
|
android:visibility="visible"
|
||
|
|
android:id="@+id/vector_103"
|
||
|
|
android:layout_width="1.5dp"
|
||
|
|
android:layout_height="140dp"
|
||
|
|
android:backgroundTint="@color/black"
|
||
|
|
android:background="@drawable/nav_border2"/>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginTop="15dp"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.8"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="Items : 3"
|
||
|
|
android:textAlignment="textEnd"
|
||
|
|
android:textSize="13sp" />
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="Qty : 7 "
|
||
|
|
android:textAlignment="textEnd"
|
||
|
|
android:textSize="13sp" />
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:id="@+id/viewSummary"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/viewSummaryImage"
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="35dp"
|
||
|
|
android:src="@drawable/icon_up_arrow"
|
||
|
|
app:tint="@color/layoutBlueTheme">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginTop="15dp"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="5">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="8dp"
|
||
|
|
android:layout_weight="5"
|
||
|
|
android:background="@drawable/summary_proceed_btn">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/submit_btn"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="3">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/submitTotal"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="6dp"
|
||
|
|
android:layout_weight="3"
|
||
|
|
android:text="\u20b9 100"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textStyle="bold">
|
||
|
|
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_marginRight="8dp"
|
||
|
|
android:layout_marginTop="3dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:src="@drawable/icon_arrow_right"
|
||
|
|
app:tint="@color/layoutBlueTheme">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
|