349 lines
14 KiB
XML
349 lines
14 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<LinearLayout
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
|
||
|
|
<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/bothdineintakeaway"
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
|
||
|
|
android:background="@drawable/rec_7"
|
||
|
|
android:id="@+id/summaryHeader"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:background="@drawable/newtableborder"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.7"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_marginStart="5dp"
|
||
|
|
android:id="@+id/summarySlNo"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:text="Sl.No"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="14sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:background="@drawable/newtableborder"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="7"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/summaryItem"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Item"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="14sp" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:background="@drawable/newtableborder"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/summaryMrp"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="MRP"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="14sp" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:background="@drawable/newtableborder"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/summmaryDiscount"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="%"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:background="@drawable/newtableborder"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/summaryQuantity"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:text="Qty"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:background="@drawable/newtableborder"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/summaryRate"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:text="Rt"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/black"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:background="@drawable/newtableborder"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/summaryPrice"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Amt"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:background="@drawable/newtableborder"
|
||
|
|
android:id="@+id/clearAll"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/summaryDeleteIcon"
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:layout_marginRight="@dimen/dp_10"
|
||
|
|
android:src="@drawable/trash_can_delete"
|
||
|
|
app:tint="@color/black"
|
||
|
|
>
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:visibility="gone"
|
||
|
|
android:id="@+id/summaryDelete"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:textSize="18sp"
|
||
|
|
android:drawableTint="@color/white"
|
||
|
|
android:background="@drawable/supplier_border"
|
||
|
|
android:drawableRight="@drawable/baseline_restore_from_trash_24"
|
||
|
|
android:fontFamily="@font/gilorylight"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Clear All"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<androidx.core.widget.NestedScrollView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_marginBottom="230dp"
|
||
|
|
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>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|