944 lines
40 KiB
XML
944 lines
40 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="500dp"
|
|
android:layout_height="match_parent"
|
|
app:cardCornerRadius="7dp"
|
|
app:cardUseCompatPadding="true">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<androidx.core.widget.NestedScrollView
|
|
android:id="@+id/notothrrecycler"
|
|
android:layout_width="match_parent"
|
|
android:layout_marginBottom="210dp"
|
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
|
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">
|
|
|
|
<ImageView
|
|
android:id="@+id/imgtakeawayreorder"
|
|
android:layout_width="25dp"
|
|
android:visibility="gone"
|
|
android:src="@drawable/takewaysummary"
|
|
android:background="@color/summarytakeaway"
|
|
android:layout_height="match_parent">
|
|
|
|
</ImageView>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/takeawayreorder"
|
|
android:layout_width="match_parent"
|
|
android:nestedScrollingEnabled="false"
|
|
android:layout_height="match_parent">
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/imgdineinreorder"
|
|
android:layout_width="25dp"
|
|
android:visibility="gone"
|
|
android:src="@drawable/dineinsummary"
|
|
android:background="@color/summarydineIn"
|
|
android:layout_height="match_parent">
|
|
|
|
</ImageView>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/summaryreprintrecycler"
|
|
android:layout_width="match_parent"
|
|
android:nestedScrollingEnabled="false"
|
|
android:layout_height="match_parent">
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/takeawayimage"
|
|
android:layout_width="25dp"
|
|
android:visibility="gone"
|
|
android:src="@drawable/takewaysummary"
|
|
android:background="@color/summarytakeaway"
|
|
android:layout_height="match_parent">
|
|
|
|
</ImageView>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/summary3_recyler"
|
|
android:layout_width="match_parent"
|
|
android:nestedScrollingEnabled="false"
|
|
android:layout_height="match_parent">
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/dineinsummary"
|
|
android:layout_width="25dp"
|
|
android:visibility="gone"
|
|
android:src="@drawable/dineinsummary"
|
|
android:background="@color/summarydineIn"
|
|
android:layout_height="match_parent">
|
|
|
|
</ImageView>
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/summary_recylernew"
|
|
android:layout_width="match_parent"
|
|
android:nestedScrollingEnabled="false"
|
|
android:layout_height="match_parent">
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.core.widget.NestedScrollView>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/othersrecyclerviewparent"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/othersrecycler"
|
|
android:layout_width="match_parent"
|
|
android:nestedScrollingEnabled="false"
|
|
android:layout_height="match_parent">
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:visibility="gone"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:background="@drawable/summary_323"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="10dp"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="4dp"
|
|
android:orientation="horizontal"
|
|
android:weightSum="1">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.75"
|
|
android:text="TOTAL ITEMS"
|
|
android:textAlignment="center"
|
|
android:textSize="13sp" />
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.25"
|
|
android:gravity="end"
|
|
android:text="0"
|
|
android:textSize="14sp"
|
|
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="4dp"
|
|
android:orientation="horizontal"
|
|
android:weightSum="1">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.75"
|
|
android:text="TOTAL QUANTITY"
|
|
android:textAlignment="center"
|
|
android:textSize="13sp" />
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.25"
|
|
android:gravity="end"
|
|
android:text="0"
|
|
android:textSize="14sp"
|
|
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="4dp"
|
|
android:orientation="horizontal"
|
|
|
|
android:weightSum="1">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.75"
|
|
android:text="DISCOUNT"
|
|
android:textAlignment="center"
|
|
android:textSize="13sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/discount"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.25"
|
|
android:gravity="end"
|
|
android:text="0"
|
|
android:textSize="14sp"
|
|
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="4dp"
|
|
android:orientation="horizontal"
|
|
|
|
android:weightSum="1">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.75"
|
|
android:text="BILL AMOUNT"
|
|
android:textAlignment="center"
|
|
android:textSize="13sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/billAmount"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.25"
|
|
android:gravity="end"
|
|
android:text="0"
|
|
android:textSize="14sp"
|
|
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="4dp"
|
|
android:orientation="horizontal"
|
|
android:weightSum="1">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.75"
|
|
android:text="TAX AMOUNT"
|
|
android:textAlignment="center"
|
|
android:textSize="13sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/taxAmount"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.25"
|
|
android:gravity="end"
|
|
android:text="0"
|
|
android:textSize="14sp"
|
|
|
|
/>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="2dp"
|
|
android:orientation="horizontal"
|
|
android:weightSum="1">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.75"
|
|
android:text="TOTAL"
|
|
android:textAlignment="center"
|
|
android:textColor="@color/black"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold" />
|
|
|
|
<TextView
|
|
android:id="@+id/grandTotal"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.25"
|
|
android:gravity="center"
|
|
android:text="0"
|
|
android:textAlignment="center"
|
|
android:textColor="@color/red"
|
|
android:textSize="20sp"
|
|
|
|
/>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/bottom_sheet"
|
|
app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="@color/white"
|
|
android:orientation="vertical"
|
|
android:padding="16dp"
|
|
android:layout_alignParentBottom="true">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_marginTop="@dimen/dp_5"
|
|
android:visibility="visible"
|
|
android:id="@+id/addCustomerParent"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="3dp"
|
|
android:orientation="horizontal"
|
|
android:weightSum="3">
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/Billingselectcustomer"
|
|
android:layout_marginStart="3dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="2"
|
|
android:layout_marginTop="10sp"
|
|
android:layout_gravity="center"
|
|
android:visibility="gone"
|
|
android:layout_margin="@dimen/dp_5">
|
|
|
|
|
|
<AutoCompleteTextView
|
|
android:id="@+id/selectCutomerSpinner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:background="@android:drawable/editbox_background_normal"
|
|
android:drawableEnd="@drawable/dropdown"
|
|
android:cursorVisible="true"
|
|
android:gravity="center_vertical"
|
|
android:padding="8dp"
|
|
android:inputType="text"
|
|
android:visibility="visible"
|
|
app:ms_dropdown_height="wrap_content"
|
|
app:ms_dropdown_max_height="350sp"
|
|
android:hint="Select Customer"
|
|
android:textSize="16dp" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:id="@+id/Billingaddcustomer"
|
|
android:layout_gravity="center"
|
|
android:visibility="gone"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
app:tint="@color/layoutBlueTheme"
|
|
android:id="@+id/adcust_Cmn"
|
|
android:layout_width="35dp"
|
|
android:layout_height="30dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="5dp"
|
|
android:src="@drawable/addcustomer"
|
|
android:visibility="visible" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="2">
|
|
|
|
<LinearLayout
|
|
android:layout_weight="1.3"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="@dimen/sp_4"
|
|
android:orientation="horizontal"
|
|
android:weightSum="1">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.5"
|
|
android:fontFamily="@font/gilorymedium"
|
|
android:text="Items :"
|
|
android:textAlignment="textEnd"
|
|
android:textSize="13sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/totalItems"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.4"
|
|
android:fontFamily="@font/gilorymedium"
|
|
android:gravity="end"
|
|
android:text="0"
|
|
android:textSize="14sp"
|
|
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_marginTop="8dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="@dimen/sp_4"
|
|
android:orientation="horizontal"
|
|
android:weightSum="1">
|
|
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.5"
|
|
android:fontFamily="@font/gilorymedium"
|
|
android:text="Qty "
|
|
android:textAlignment="textEnd"
|
|
android:textSize="13sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/totalQuantity"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.4"
|
|
android:fontFamily="@font/gilorymedium"
|
|
android:gravity="end"
|
|
android:text="0"
|
|
android:textSize="14sp"
|
|
|
|
/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_gravity="center"
|
|
android:layout_weight="0.7"
|
|
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>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_marginHorizontal="@dimen/dp_5"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="visible"
|
|
android:orientation="horizontal">
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
android:id="@+id/paymentRecylerView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="60dp">
|
|
</androidx.recyclerview.widget.RecyclerView>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<TextView
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/noPaymentView"
|
|
android:text="Please Set Payment Options"
|
|
android:textColor="@color/red"
|
|
android:padding="16dp"
|
|
android:gravity="center"
|
|
/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/nootherservicesum"
|
|
android:visibility="visible"
|
|
android:layout_marginRight="@dimen/dp_10"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:gravity="end">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/advanceAmountLL"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
>
|
|
|
|
<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="@color/advancegrey"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:visibility="gone"
|
|
android:id="@+id/creditCustomers"
|
|
android:layout_gravity="center"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
|
android:background="@drawable/icon_credit_customer">
|
|
|
|
</ImageView>
|
|
|
|
<ImageView
|
|
android:layout_marginRight="@dimen/dp_15"
|
|
android:id="@+id/unpaid"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_gravity="center"
|
|
android:layout_marginLeft="10dp"
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
|
android:background="@drawable/icon_un_paid_bill"
|
|
android:visibility="visible" />
|
|
|
|
<ImageView
|
|
android:visibility="gone"
|
|
android:id="@+id/dineInHold"
|
|
android:tooltipText="Dine In Order"
|
|
android:layout_width="25dp"
|
|
android:layout_height="25dp"
|
|
android:layout_gravity="center"
|
|
android:src="@drawable/dinein"
|
|
app:tint="@color/red">
|
|
</ImageView>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/holdRecallParentSummary"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:layout_marginHorizontal="3dp"
|
|
android:layout_marginVertical="3dp"
|
|
android:layout_marginTop="10dp"
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/btnhold_Cmn"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:visibility="gone">
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="40dp"
|
|
android:padding="10dp"
|
|
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:drawableStart="@drawable/pause"
|
|
android:drawableTint="@color/white"
|
|
android:drawablePadding="2dp"
|
|
android:text=" Hold "
|
|
android:backgroundTint="@color/layoutBlueTheme"
|
|
android:textColor="@color/white"
|
|
android:textSize="@dimen/sp_16"
|
|
android:textStyle="bold"
|
|
/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<Button
|
|
android:id="@+id/dineInorder"
|
|
android:layout_width="0dp"
|
|
android:layout_height="60dp"
|
|
android:layout_marginEnd="5dp"
|
|
android:layout_marginBottom="5dp"
|
|
android:layout_weight="1"
|
|
android:background="@drawable/search_bg_white"
|
|
android:drawablePadding="16dp"
|
|
android:gravity="center"
|
|
android:text="Order"
|
|
android:textAlignment="center"
|
|
android:textAllCaps="true"
|
|
android:textColor="@color/black"
|
|
android:textColorHint="@color/grey"
|
|
android:textSize="14dp"
|
|
android:visibility="gone" />
|
|
|
|
<RelativeLayout
|
|
android:visibility="gone"
|
|
android:id="@+id/holdOrder"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center">
|
|
|
|
<ImageView
|
|
android:id="@+id/favItemCart"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_centerVertical="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:src="@drawable/hand"
|
|
app:tint="@color/selectedGreen" />
|
|
|
|
<TextView
|
|
android:id="@+id/cart_badge"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignTop="@id/favItemCart"
|
|
android:layout_alignEnd="@id/favItemCart"
|
|
android:layout_marginStart="-8dp"
|
|
android:layout_marginTop="0dp"
|
|
android:layout_marginEnd="1dp"
|
|
android:background="@drawable/badge_background"
|
|
android:gravity="center"
|
|
android:paddingStart="4dp"
|
|
android:paddingEnd="4dp"
|
|
android:text="0"
|
|
android:textColor="@color/color_white" />
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
</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
|
|
android:id="@+id/split_payment"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_gravity="center"
|
|
android:gravity="center">
|
|
|
|
<ImageView
|
|
android:layout_width="27dp"
|
|
android:layout_height="30dp"
|
|
android:clickable="false"
|
|
android:focusable="false"
|
|
android:src="@drawable/split_payment" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:id="@+id/veiclenoparent"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:orientation="horizontal">
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/veicle_no_icon"
|
|
android:backgroundTint="@color/layoutBlueTheme">
|
|
</ImageView>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_marginBottom="@dimen/dp_10"
|
|
android:layout_marginHorizontal="7dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingVertical="2dp"
|
|
android:orientation="vertical"
|
|
android:background="@color/newsummarygreen">
|
|
|
|
<LinearLayout
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
|
android:layout_width="match_parent"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/submit_btn"
|
|
android:visibility="visible"
|
|
android:orientation="horizontal"
|
|
android:weightSum="3.3">
|
|
|
|
<LinearLayout
|
|
android:layout_gravity="center"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1.2"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:gravity="center"
|
|
android:layout_gravity="center"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="Total"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/white"
|
|
android:textSize="26sp">
|
|
</TextView>
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:background="@drawable/ripple_effect"
|
|
android:layout_weight="2.1"
|
|
android:visibility="visible"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1.3"
|
|
android:gravity="center"
|
|
android:layout_gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/submitTotal"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="0.0"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/white"
|
|
android:textSize="23sp"/>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.8"
|
|
android:layout_gravity="end"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:gravity="end"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_marginRight="@dimen/_20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/vector_90">
|
|
|
|
</ImageView>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:id="@+id/dinInorderbtn"
|
|
android:visibility="gone"
|
|
android:orientation="horizontal"
|
|
android:weightSum="3.3">
|
|
|
|
|
|
<LinearLayout
|
|
android:background="@drawable/ripple_effect"
|
|
android:layout_weight="3.1"
|
|
android:visibility="visible"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1.3"
|
|
android:gravity="center"
|
|
android:layout_gravity="center"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:textAlignment="center"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="3"
|
|
android:text="ORDER"
|
|
android:textColor="@color/white"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold">
|
|
|
|
</TextView>
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="0.8"
|
|
android:layout_gravity="end"
|
|
android:orientation="vertical">
|
|
<LinearLayout
|
|
android:gravity="end"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<ImageView
|
|
android:layout_marginRight="@dimen/_20dp"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:src="@drawable/vector_90">
|
|
|
|
</ImageView>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
</androidx.cardview.widget.CardView> |