747 lines
34 KiB
XML
747 lines
34 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:orientation="vertical"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_horizontal"
|
||
|
|
>
|
||
|
|
<ScrollView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:layout_width="850dp"
|
||
|
|
android:layout_margin="@dimen/_20dp"
|
||
|
|
app:cardCornerRadius="@dimen/dp_8"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_marginBottom="@dimen/_20dp"
|
||
|
|
android:id="@+id/parent_reorder"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:background="@drawable/border_radius"
|
||
|
|
android:layout_margin="10dp"
|
||
|
|
android:backgroundTint="@color/white"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.9"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Bill Payment"
|
||
|
|
android:layout_marginHorizontal="25dp"
|
||
|
|
android:textSize="24dp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/manropeextrabold"/>
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/closePopUp"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_weight="0.1"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:background="@drawable/ripple_effect"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="21dp"
|
||
|
|
android:layout_height="21dp"
|
||
|
|
android:src="@drawable/close_1">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="25dp"
|
||
|
|
android:weightSum="2">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Table Name :"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:fontFamily="@font/manropeextrabold"
|
||
|
|
android:textSize="17dp" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tableName"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="end"
|
||
|
|
android:fontFamily="@font/manropeextrabold"
|
||
|
|
android:textSize="17dp"
|
||
|
|
|
||
|
|
/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="25dp"
|
||
|
|
>
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="4dp"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Chair Name: "
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:fontFamily="@font/manropeextrabold"
|
||
|
|
android:textSize="17dp" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/chairName"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="end"
|
||
|
|
android:fontFamily="@font/manropeextrabold"
|
||
|
|
android:textSize="17dp"
|
||
|
|
|
||
|
|
/>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="25dp"
|
||
|
|
>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Waiter Name :"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:fontFamily="@font/manropeextrabold"
|
||
|
|
android:textSize="17dp" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/waiterName"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="end"
|
||
|
|
android:fontFamily="@font/manropeextrabold"
|
||
|
|
android:textSize="17dp"
|
||
|
|
|
||
|
|
/>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginHorizontal="25dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:background="@drawable/border_top_radius"
|
||
|
|
android:weightSum="5">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:text="SLNO"
|
||
|
|
android:textSize="16dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/manropeextrabold"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="2dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
<TextView
|
||
|
|
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:text="ITEM"
|
||
|
|
android:textSize="16dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:fontFamily="@font/manropeextrabold"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="2dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:text="QTY"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textSize="16dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:fontFamily="@font/manropeextrabold"/>
|
||
|
|
<View
|
||
|
|
android:layout_width="2dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="5dp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:background="@drawable/nav_border2"
|
||
|
|
android:backgroundTint="@color/white" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:text="AMOUNT"
|
||
|
|
android:textSize="16dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:fontFamily="@font/manropeextrabold"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<ScrollView
|
||
|
|
android:layout_marginHorizontal="26dp"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="200dp"
|
||
|
|
>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:id="@+id/dynamicContainer"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</ScrollView>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_marginRight="@dimen/sp_45"
|
||
|
|
android:layout_gravity="end">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.8">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Extra Charge :"
|
||
|
|
android:textAlignment="textEnd"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.2">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/extraCharge"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.8">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Bill Amount :"
|
||
|
|
android:textAlignment="textEnd"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.2">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/billAmount"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.8">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Tax :"
|
||
|
|
android:textAlignment="textEnd"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.2">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/Tax"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.8">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Net Amount :"
|
||
|
|
android:textAlignment="textEnd"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.2">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/netAmount"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="4">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="70dp"
|
||
|
|
android:layout_weight="2">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/navbarautocomplete"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<AutoCompleteTextView
|
||
|
|
android:id="@+id/spinnersearchnavbar"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:background="@android:drawable/editbox_background_normal"
|
||
|
|
android:cursorVisible="true"
|
||
|
|
android:drawableEnd="@drawable/dropdown"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:hint="Select customer"
|
||
|
|
android:paddingVertical="10dp"
|
||
|
|
android:textSize="16dp" />
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/adcust_Cmn"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/imageadcustnav"
|
||
|
|
android:layout_width="28dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:src="@drawable/addcustomer"
|
||
|
|
android:visibility="visible"
|
||
|
|
app:tint="@color/layoutBlueTheme" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_marginTop="@dimen/dp_5"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
|
android:id="@+id/paymentRecylerView"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="60dp">
|
||
|
|
</androidx.recyclerview.widget.RecyclerView>
|
||
|
|
<TextView
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:id="@+id/noPaymentView"
|
||
|
|
android:text="Please Set Payment Options"
|
||
|
|
android:textColor="@color/red"
|
||
|
|
android:layout_gravity="start"
|
||
|
|
android:padding="16dp"
|
||
|
|
android:gravity="start"
|
||
|
|
/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginTop="15dp"
|
||
|
|
android:layout_marginBottom="20dp"
|
||
|
|
android:weightSum="5">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.7">
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="50dp"
|
||
|
|
android:layout_margin="8dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:background="@drawable/btn_pay">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/submit_btn"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
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:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="\u20b9 0.0"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textStyle="bold">
|
||
|
|
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="5dp"
|
||
|
|
|
||
|
|
android:background="@drawable/vector_pay">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1">
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cancel_btn"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginHorizontal="3dp"
|
||
|
|
android:layout_marginVertical="3dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
<RelativeLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:clipToPadding="false"
|
||
|
|
android:focusable="true">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cancel"
|
||
|
|
android:layout_width="90dp"
|
||
|
|
android:layout_height="55dp"
|
||
|
|
android:layout_marginStart="@dimen/dp_5"
|
||
|
|
android:layout_marginLeft="@dimen/sp_5"
|
||
|
|
android:layout_marginTop="@dimen/dp_5"
|
||
|
|
android:layout_marginEnd="@dimen/dp_5"
|
||
|
|
android:layout_marginBottom="@dimen/dp_5"
|
||
|
|
android:background="@drawable/search_bg_white"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="Cancel"
|
||
|
|
android:backgroundTint="@color/red"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:textSize="@dimen/sp_16"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:visibility="visible" />
|
||
|
|
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.3">
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cancelBtn"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_margin="8dp"
|
||
|
|
android:layout_weight="2.5"
|
||
|
|
android:background="@drawable/btn_cancel"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="5dp"
|
||
|
|
android:background="@drawable/remove">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:text="CANCEL"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/white">
|
||
|
|
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</ScrollView>
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|