4189 lines
215 KiB
XML
4189 lines
215 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/slide1"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/HomePage2"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
app:cardCornerRadius="16dp"
|
||
|
|
app:cardBackgroundColor="@android:color/white">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:id="@+id/HomePage2backg"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:background="@drawable/imagesbg2">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/logo_section"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:gravity="center"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
android:padding="16dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="80dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:src="@drawable/kiosklogo"
|
||
|
|
android:scaleType="centerCrop"
|
||
|
|
android:background="@drawable/circle_background"
|
||
|
|
android:clipToOutline="true" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="BRANCH NAME"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:textSize="24sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@android:color/white"
|
||
|
|
android:paddingStart="8dp" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/order_text"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="24dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="ORDER"
|
||
|
|
android:textColor="#FFFF00"
|
||
|
|
android:textSize="45sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:layout_constraintHorizontal_bias="1.0"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/logo_section" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/here_text"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="HERE"
|
||
|
|
android:gravity="center"
|
||
|
|
|
||
|
|
android:textSize="35sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@android:color/white"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/order_text"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="20dp"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="16dp"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/here_text"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/dineInLayout2"
|
||
|
|
android:layout_width="120dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:gravity="center"
|
||
|
|
android:background="@drawable/button1_background"
|
||
|
|
android:padding="16dp">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="DINE IN"
|
||
|
|
android:textColor="@android:color/white"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/takeAwayLayout2"
|
||
|
|
android:layout_width="120dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="center"
|
||
|
|
android:background="@drawable/button1_background"
|
||
|
|
android:padding="16dp"
|
||
|
|
android:layout_marginStart="16dp">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="TAKE-AWAY"
|
||
|
|
android:textColor="@android:color/white"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/weAcceptText"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="20dp"
|
||
|
|
android:text="We Accept"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="30dp"
|
||
|
|
android:layout_marginRight="30dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:layout_marginEnd="7dp"
|
||
|
|
android:src="@drawable/upi1" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:layout_marginEnd="7dp"
|
||
|
|
android:src="@drawable/visa" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:layout_marginEnd="7dp"
|
||
|
|
android:src="@drawable/mastercard" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:src="@drawable/dollars" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/HomePage1"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
app:cardCornerRadius="16dp"
|
||
|
|
app:cardBackgroundColor="@android:color/white">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:id="@+id/HomePage1backg"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:background="@drawable/imagesbg">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/logo_section"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:gravity="center"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
android:padding="16dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="80dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:src="@drawable/kiosklogo"
|
||
|
|
android:scaleType="centerCrop"
|
||
|
|
android:background="@drawable/circle_background"
|
||
|
|
android:clipToOutline="true" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="BRANCH NAME"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:textSize="24sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@android:color/white"
|
||
|
|
android:paddingStart="8dp" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/order_here_text"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Home Page 1"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginTop="50dp"
|
||
|
|
android:textSize="35sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@android:color/white"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/logo_section"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/order_description"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="Skip the Queue line And order now for instant service!"
|
||
|
|
android:textSize="10sp"
|
||
|
|
android:textColor="@android:color/white"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/order_here_text"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="20dp"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="16dp"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/order_description"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/dineInLayout1"
|
||
|
|
android:layout_width="120dp"
|
||
|
|
android:layout_height="120dp"
|
||
|
|
android:background="@drawable/button1_background"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:padding="16dp"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="60dp"
|
||
|
|
android:src="@drawable/material_symbols_light_restaurant_menu"
|
||
|
|
android:tint="@android:color/white" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="DINE IN"
|
||
|
|
android:textColor="@android:color/white"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/takeAwayLayout1"
|
||
|
|
android:layout_width="120dp"
|
||
|
|
android:layout_height="120dp"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:background="@drawable/button1_background"
|
||
|
|
android:padding="16dp"
|
||
|
|
android:layout_marginStart="16dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="60dp"
|
||
|
|
android:src="@drawable/shopping_bag"
|
||
|
|
android:tint="@android:color/white"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="TAKE-AWAY"
|
||
|
|
android:textColor="@android:color/white"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/weAcceptText"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="20dp"
|
||
|
|
android:text="We Accept"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="30dp"
|
||
|
|
android:layout_marginRight="30dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:layout_marginEnd="7dp"
|
||
|
|
android:src="@drawable/upikiosk" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:layout_marginEnd="7dp"
|
||
|
|
android:src="@drawable/visa" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:layout_marginEnd="7dp"
|
||
|
|
android:src="@drawable/mastercard" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:src="@drawable/dollars" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/HomePage3"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:cardCornerRadius="8dp">
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@color/white">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/logoAndText"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_centerHorizontal="true"
|
||
|
|
android:layout_alignParentTop="true">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/logo"
|
||
|
|
android:layout_width="30dp"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:src="@drawable/logo" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/textLogo"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="8dp"
|
||
|
|
android:text="Jai Shree Chettinad mess"
|
||
|
|
android:textSize="18sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/videoContent"
|
||
|
|
android:layout_width="300dp"
|
||
|
|
android:layout_height="250dp"
|
||
|
|
android:layout_below="@id/logoAndText"
|
||
|
|
android:layout_centerHorizontal="true"
|
||
|
|
android:elevation="40dp"
|
||
|
|
android:layout_marginRight="25dp"
|
||
|
|
android:layout_marginLeft="25dp"
|
||
|
|
android:layout_marginTop="16dp">
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:id="@+id/relativeLayout"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:background="@drawable/bg_ellps"
|
||
|
|
android:layout_height="250dp">
|
||
|
|
|
||
|
|
<View
|
||
|
|
android:id="@+id/backgroundView"
|
||
|
|
android:layout_width="500dp"
|
||
|
|
android:layout_height="500dp"
|
||
|
|
android:background="@drawable/ellipse1" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/rotating_bg"
|
||
|
|
android:layout_width="300dp"
|
||
|
|
android:layout_height="300dp"
|
||
|
|
android:scaleType="matrix" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/theme3_content_one"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="WELCOME"
|
||
|
|
android:textAllCaps="true"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginTop="40dp"
|
||
|
|
android:layout_centerHorizontal="true"
|
||
|
|
android:textSize="30sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@android:color/white"/>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/ribbonImage"
|
||
|
|
android:layout_width="180dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:src="@drawable/vector_342_2x"
|
||
|
|
android:scaleType="fitXY"
|
||
|
|
android:layout_centerInParent="true"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/theme3_content_two"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="hello"
|
||
|
|
android:textAllCaps="true"
|
||
|
|
android:textSize="24sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="#FFFFFF"
|
||
|
|
android:layout_centerInParent="true"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/theme3_content_three"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="hello"
|
||
|
|
android:layout_below="@+id/theme3_content_two"
|
||
|
|
android:layout_centerInParent="true"
|
||
|
|
android:layout_marginTop="20dp"
|
||
|
|
android:textSize="24sp"
|
||
|
|
android:textAllCaps="true"
|
||
|
|
android:textColor="@color/white"/>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="120dp"
|
||
|
|
android:layout_height="70dp"
|
||
|
|
android:layout_below="@+id/theme3_content_three"
|
||
|
|
android:background="@drawable/percentage"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginLeft="180dp"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@id/rate_dis"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:text="00"
|
||
|
|
android:textSize="20sp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:textAllCaps="true"
|
||
|
|
android:textColor="@color/white">
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_below="@+id/rate_dis"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/percentage_sybmol"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textSize="20sp"
|
||
|
|
android:text="%"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:textColor="@color/white"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/fixed_sybmol"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textSize="20sp"
|
||
|
|
android:text="₹"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:textColor="@color/white"/>
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/off_discount"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="OFF"
|
||
|
|
android:layout_marginLeft="05dp"
|
||
|
|
android:textSize="15sp"
|
||
|
|
android:textAllCaps="true"
|
||
|
|
android:textColor="@color/white"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/selfBooking"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_below="@id/videoContent"
|
||
|
|
android:layout_centerHorizontal="true"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:layout_marginTop="20dp"
|
||
|
|
android:text="Self Booking"
|
||
|
|
android:textSize="18sp" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/orderHere"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_centerHorizontal="true"
|
||
|
|
android:layout_below="@id/selfBooking"
|
||
|
|
android:layout_marginTop="5dp"
|
||
|
|
android:text="ORDER HERE"
|
||
|
|
android:textSize="34sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/icons"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_below="@id/orderHere"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:layout_centerHorizontal="true"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/skipWaiting"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Skip Waiting Time And Queue"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:src="@drawable/skip"
|
||
|
|
android:layout_width="20dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:layout_marginEnd="5dp" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/btns"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_below="@+id/icons"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:layout_centerHorizontal="true"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/dineInLayout3"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:background="@drawable/orange_btn"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:layout_marginEnd="10dp">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Dine In"
|
||
|
|
android:textColor="@android:color/white"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:paddingEnd="8dp"/>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="20dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:src="@drawable/material_symbols_light_restaurant_menu"
|
||
|
|
android:tint="@android:color/white"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/takeAwayLayout3"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:background="@drawable/orange_btn"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:padding="10dp">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Take Away"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textColor="@android:color/white"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:paddingEnd="8dp"/>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="20dp"
|
||
|
|
android:layout_height="20dp"
|
||
|
|
android:src="@drawable/shopping_bag"
|
||
|
|
android:layout_marginRight="10dp"
|
||
|
|
android:tint="@android:color/white"/>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_alignParentBottom="true"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/weAcceptText"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="20dp"
|
||
|
|
android:text="We Accept"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="30dp"
|
||
|
|
android:layout_marginRight="30dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:layout_marginEnd="2dp"
|
||
|
|
android:src="@drawable/upi1" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:layout_marginEnd="2dp"
|
||
|
|
android:src="@drawable/visa" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:layout_marginEnd="2dp"
|
||
|
|
android:src="@drawable/mastercard" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="60dp"
|
||
|
|
android:layout_height="80dp"
|
||
|
|
android:src="@drawable/dollars" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/slide5"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/CategoryCard3"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
app:cardCornerRadius="20dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
|
||
|
|
<!-- Left Section -->
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="0.7"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:src="@drawable/logo"
|
||
|
|
android:contentDescription="Image" />
|
||
|
|
|
||
|
|
<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:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:id="@+id/cat_cont_2"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:src="@drawable/briyani"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:contentDescription="Item Image" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:text="Chicken"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:textColor="@android:color/black"
|
||
|
|
/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:id="@+id/cat_cont_3">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/briyani"/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Briyani"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:id="@+id/cat_cont_4">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/meals"/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Meals"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:id="@+id/cat_cont_5">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/chats"/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="chats"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:id="@+id/cat_cont_6">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/grill"/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Grills"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:id="@+id/cat_cont_7">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/beverges"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Beverges"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<!-- Right Section -->
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/backgroundcolor_category3"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1.3"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:weightSum="2"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.2"
|
||
|
|
android:layout_marginLeft="05dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginBottom="@dimen/dp_10"
|
||
|
|
android:weightSum="2"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/cat1_cancel"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:text="Cancel "
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="10dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
<Button
|
||
|
|
android:id="@+id/backgroundcolor_category3_button"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="05dp"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="Order"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="10dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat1_bill"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_weight="0.8"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Bill Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text="Tax Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/Python"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:text="Total Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:textColor="@color/Python"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/CategoryCard2"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
app:cardCornerRadius="20dp">
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
<!-- Left Section -->
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:src="@drawable/logo" />
|
||
|
|
|
||
|
|
|
||
|
|
<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:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat_cont_2"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="44dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:contentDescription="Item Image"
|
||
|
|
android:src="@drawable/briyani" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:text="Chicken"
|
||
|
|
android:textColor="@android:color/black" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat_cont_3"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/briyani" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Briyani"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat_cont_4"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/meals" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Meals"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat_cont_5"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/chats" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="chats"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat_cont_6"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/grill" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Grills"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat_cont_7"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/beverges" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Beverges"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<!-- Right Section -->
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/backgroundcolor_category2"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:weightSum="2"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginLeft="05dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginBottom="@dimen/dp_10"
|
||
|
|
android:weightSum="2"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/cat1_cancel"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:text="Cancel "
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="10dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
<Button
|
||
|
|
android:id="@+id/backgroundcolor_category2_button"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="05dp"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="Order "
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="10dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat1_bill"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:layout_gravity="bottom"
|
||
|
|
android:paddingRight="15dp"
|
||
|
|
android:gravity="bottom"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Bill Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text="Tax Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/Python"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:text="Total Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:textColor="@color/Python"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/CategoryCard1"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
app:cardCornerRadius="20dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/backgroundcolor_category1"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="@dimen/dp_5"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_logo"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:layout_gravity="start"
|
||
|
|
android:src="@drawable/logo"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/_20dp"
|
||
|
|
android:text="ORDER TOTAL"/>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<com.google.android.flexbox.FlexboxLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:alignItems="center"
|
||
|
|
app:flexDirection="row"
|
||
|
|
app:flexWrap="wrap"
|
||
|
|
app:justifyContent="flex_start" >
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:cardCornerRadius="16dp"
|
||
|
|
app:cardElevation="4dp"
|
||
|
|
android:layout_margin="8dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/rounded_corners"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="100dp"
|
||
|
|
android:layout_height="100dp"
|
||
|
|
android:src="@drawable/briyani"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:contentDescription="Item Image"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Item Name"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textStyle="bold"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:cardCornerRadius="16dp"
|
||
|
|
app:cardElevation="4dp"
|
||
|
|
android:layout_margin="8dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/rounded_corners"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="100dp"
|
||
|
|
android:layout_height="100dp"
|
||
|
|
android:src="@drawable/briyani"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:contentDescription="Item Image"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Item Name"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textStyle="bold"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:cardCornerRadius="16dp"
|
||
|
|
app:cardElevation="4dp"
|
||
|
|
android:layout_margin="8dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/rounded_corners"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="100dp"
|
||
|
|
android:layout_height="100dp"
|
||
|
|
android:src="@drawable/briyani"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:contentDescription="Item Image"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Item Name"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textStyle="bold"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:cardCornerRadius="16dp"
|
||
|
|
app:cardElevation="4dp"
|
||
|
|
android:layout_margin="8dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/rounded_corners"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="100dp"
|
||
|
|
android:layout_height="100dp"
|
||
|
|
android:src="@drawable/briyani"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:contentDescription="Item Image"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Item Name"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textStyle="bold"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:cardCornerRadius="16dp"
|
||
|
|
app:cardElevation="4dp"
|
||
|
|
android:layout_margin="8dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/rounded_corners"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="100dp"
|
||
|
|
android:layout_height="100dp"
|
||
|
|
android:src="@drawable/briyani"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:contentDescription="Item Image"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Item Name"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textStyle="bold"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
</com.google.android.flexbox.FlexboxLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:weightSum="2"
|
||
|
|
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginLeft="05dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:weightSum="2"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/cat1_cancel"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:text="Cancel "
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="10dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/backgroundcolor_category1_button"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="Order "
|
||
|
|
android:layout_marginLeft="05dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="10dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat1_bill"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:layout_gravity="bottom"
|
||
|
|
android:paddingRight="15dp"
|
||
|
|
android:gravity="bottom"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Bill Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text="Tax Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/Python"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:text="Total Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:textColor="@color/Python"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/slide2"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/Category3"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
app:cardCornerRadius="20dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
|
||
|
|
<!-- Left Section -->
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.7"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:src="@drawable/logo"
|
||
|
|
android:contentDescription="Image" />
|
||
|
|
|
||
|
|
<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:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:id="@+id/cat_cont_2"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:src="@drawable/briyani"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:contentDescription="Item Image" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:text="Chicken"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:textColor="@android:color/black"
|
||
|
|
/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:id="@+id/cat_cont_3">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/briyani"/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Briyani"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:id="@+id/cat_cont_4">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/meals"/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Meals"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:id="@+id/cat_cont_5">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/chats"/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="chats"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:id="@+id/cat_cont_6">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/grill"/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Grills"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:id="@+id/cat_cont_7">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/beverges"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Beverges"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<!-- Right Section -->
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/backgroundcolor_cat3"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.3"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
|
|
||
|
|
android:id="@+id/kioskCardDesign"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_below="@+id/textOT"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:orientation="vertical"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:weightSum="2"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginLeft="05dp"
|
||
|
|
android:layout_gravity="bottom"
|
||
|
|
android:gravity="bottom"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_marginBottom="@dimen/dp_10"
|
||
|
|
android:weightSum="2"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/cat1_cancel"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:text="Cancel "
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="10dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
<Button
|
||
|
|
android:id="@+id/backgroundcolor_cat3_button"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="05dp"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="Order "
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginRight="@dimen/dp_10"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="10dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat1_bill"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:layout_gravity="bottom"
|
||
|
|
android:paddingRight="15dp"
|
||
|
|
android:gravity="bottom"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Bill Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text="Tax Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/Python"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:text="Total Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:textColor="@color/Python"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/Category2"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
app:cardCornerRadius="20dp">
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
<!-- Left Section -->
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:src="@drawable/logo" />
|
||
|
|
|
||
|
|
|
||
|
|
<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:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat_cont_2"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="44dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:contentDescription="Item Image"
|
||
|
|
android:src="@drawable/briyani" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:text="Chicken"
|
||
|
|
android:textColor="@android:color/black" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat_cont_3"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/briyani" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Briyani"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat_cont_4"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/meals" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Meals"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat_cont_5"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/chats" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="chats"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat_cont_6"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/grill" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Grills"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat_cont_7"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginVertical="10dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_image"
|
||
|
|
android:layout_width="40dp"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:adjustViewBounds="true"
|
||
|
|
android:contentDescription="Category Image"
|
||
|
|
android:scaleType="centerInside"
|
||
|
|
android:src="@drawable/beverges" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cat1_name"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Beverges"
|
||
|
|
android:textColor="@color/black" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<!-- Right Section -->
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/backgroundcolor_cat2"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
|
|
||
|
|
android:id="@+id/kioskCardDesign2"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_below="@+id/textOT"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="visible" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:weightSum="2"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginLeft="05dp"
|
||
|
|
android:layout_gravity="bottom"
|
||
|
|
android:gravity="bottom"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_marginBottom="@dimen/dp_10"
|
||
|
|
android:weightSum="2"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/cat1_cancel"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:text="Cancel "
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="10dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
<Button
|
||
|
|
android:id="@+id/backgroundcolor_cat2_button"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="05dp"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="Order "
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginRight="@dimen/dp_10"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="10dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat1_bill"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:layout_gravity="bottom"
|
||
|
|
android:paddingRight="15dp"
|
||
|
|
android:gravity="bottom"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Bill Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text="Tax Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/Python"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:text="Total Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:textColor="@color/Python"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/Category1"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
app:cardCornerRadius="20dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/backgroundcolor_cat1"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="@dimen/dp_5"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cat1_logo"
|
||
|
|
android:layout_width="50dp"
|
||
|
|
android:layout_height="50dp"
|
||
|
|
android:layout_gravity="start"
|
||
|
|
android:src="@drawable/logo"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="@dimen/_20dp"
|
||
|
|
android:text="ORDER TOTAL"/>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<androidx.recyclerview.widget.RecyclerView
|
||
|
|
android:id="@+id/kioskCardDesign1"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_below="@+id/textOT"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:orientation="vertical"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:weightSum="2"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginLeft="05dp"
|
||
|
|
android:layout_gravity="bottom"
|
||
|
|
android:gravity="bottom"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_marginBottom="@dimen/dp_10"
|
||
|
|
android:weightSum="2"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/cat1_cancel"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:text="Cancel "
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="10dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
<Button
|
||
|
|
android:id="@+id/backgroundcolor_cat1_button"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginLeft="05dp"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="Order "
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginRight="@dimen/dp_10"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="10dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/cat1_bill"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:background="@color/white"
|
||
|
|
android:layout_gravity="bottom"
|
||
|
|
android:paddingRight="15dp"
|
||
|
|
android:gravity="bottom"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_alignParentBottom="true">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:text="Bill Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text="Tax Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/Python"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:text="Total Amount :" />
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:textColor="@color/Python"
|
||
|
|
android:text=" \u20b9 0.00" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/slide3"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/OrderCart3"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
app:cardCornerRadius="16dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/backgroundcolor_ordercart1"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
>
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/logo"
|
||
|
|
android:layout_width="64dp"
|
||
|
|
android:layout_height="64dp"
|
||
|
|
android:src="@drawable/kiosklogo"
|
||
|
|
android:contentDescription="Logo"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:layout_marginStart="20dp"
|
||
|
|
android:background="@android:color/white"
|
||
|
|
android:padding="10dp"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/orderTotalTitle"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="20dp"
|
||
|
|
android:text="ORDER TOTAL"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="25sp"
|
||
|
|
android:layout_marginTop="40dp"
|
||
|
|
android:textColor="@android:color/black"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/logo"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
/>
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
android:id="@+id/cartContainer"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
app:layout_constraintTop_toTopOf="@id/orderTotalTitle"
|
||
|
|
android:layout_marginEnd="16dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/cartIcon"
|
||
|
|
android:layout_width="24dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:src="@drawable/baseline_shopping_cart_24"
|
||
|
|
android:contentDescription="Cart Icon"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/cartPrice"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="₹ 230.00"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textColor="@android:color/black"
|
||
|
|
app:layout_constraintStart_toEndOf="@id/cartIcon"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
android:layout_marginStart="8dp"/>
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:id="@+id/itemCard"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="16dp"
|
||
|
|
app:cardCornerRadius="10dp"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/orderTotalTitle"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/OrderCartCont3"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:gravity="center_vertical">
|
||
|
|
|
||
|
|
<!-- Left Side Image -->
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/itemImage"
|
||
|
|
android:layout_width="100dp"
|
||
|
|
android:layout_height="100dp"
|
||
|
|
android:layout_marginEnd="10dp"
|
||
|
|
android:scaleType="centerCrop"
|
||
|
|
android:src="@drawable/briyani"
|
||
|
|
android:contentDescription="Biryani Image"/>
|
||
|
|
|
||
|
|
<!-- Right Side Content -->
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/itemName"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="CHETTINAD CHICKEN BIRYANI"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textColor="@android:color/black"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/itemPrice"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="4dp"
|
||
|
|
android:text="₹ 230.00"
|
||
|
|
android:textColor="#228B22"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:gravity="center_vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/btnMinus"
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:src="@drawable/minus_box"
|
||
|
|
android:background="?attr/selectableItemBackground"
|
||
|
|
android:contentDescription="Decrease Quantity"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/txtQuantity"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="01"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:layout_marginHorizontal="8dp"
|
||
|
|
android:textColor="@android:color/black"/>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/btnPlus"
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:background="?attr/selectableItemBackground"
|
||
|
|
android:contentDescription="Increase Quantity"
|
||
|
|
android:src="@drawable/add_box" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/btnRemove"
|
||
|
|
android:layout_width="30dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="20dp"
|
||
|
|
android:src="@drawable/baseline_delete_25" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/OrderCartCont2"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:gravity="center_vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/itemName"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="CHETTINAD CHICKEN BIRYANI"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textColor="@android:color/black"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/itemPrice"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="₹ 230.00"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textColor="#228B22"
|
||
|
|
android:layout_marginTop="4dp"/>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:gravity="center_vertical">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/btnMinus"
|
||
|
|
android:layout_width="22dp"
|
||
|
|
android:layout_height="22dp"
|
||
|
|
android:src="@drawable/minus_box"
|
||
|
|
android:background="?attr/selectableItemBackground"
|
||
|
|
android:contentDescription="Decrease Quantity"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/txtQuantity"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="01"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:layout_marginHorizontal="8dp"
|
||
|
|
android:textColor="@android:color/black"/>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/btnPlus"
|
||
|
|
android:layout_width="22dp"
|
||
|
|
android:layout_height="22dp"
|
||
|
|
android:background="?attr/selectableItemBackground"
|
||
|
|
android:contentDescription="Increase Quantity"
|
||
|
|
android:src="@drawable/add_box"/>
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/btnRemove"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="20dp"
|
||
|
|
android:background="@drawable/btnremovered"
|
||
|
|
android:text="✖ REMOVE"
|
||
|
|
android:textColor="#FF0000" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/itemImage"
|
||
|
|
android:layout_width="110dp"
|
||
|
|
android:layout_height="100dp"
|
||
|
|
android:layout_marginStart="10dp"
|
||
|
|
android:scaleType="centerCrop"
|
||
|
|
android:src="@drawable/briyani"
|
||
|
|
android:contentDescription="Biryani Image"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/OrderCartCont1"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:padding="16dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="2">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/itemName"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:padding="10dp"
|
||
|
|
android:text="CHETTINAD MUTTON BIRYANI"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textSize="10sp"
|
||
|
|
android:textColor="@android:color/black"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/itemPrice"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:gravity="end"
|
||
|
|
android:text="₹ 230.00"
|
||
|
|
android:textSize="15sp"
|
||
|
|
android:textColor="@android:color/black"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginTop="18dp"
|
||
|
|
android:gravity="center_vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1">
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/btnMinus"
|
||
|
|
android:layout_width="24dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:src="@drawable/minus1"
|
||
|
|
android:background="?attr/selectableItemBackground"
|
||
|
|
android:contentDescription="Decrease Quantity"/>
|
||
|
|
|
||
|
|
<!-- Quantity Text -->
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/txtQuantity"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="01"
|
||
|
|
android:textSize="18sp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:layout_marginHorizontal="8dp"
|
||
|
|
android:textColor="@android:color/black" />
|
||
|
|
|
||
|
|
<!-- Increase Quantity Button -->
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/btnPlus"
|
||
|
|
android:layout_width="24dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:background="?attr/selectableItemBackground"
|
||
|
|
android:contentDescription="Increase Quantity"
|
||
|
|
android:src="@drawable/add1" />
|
||
|
|
</LinearLayout>
|
||
|
|
<!-- Remove Button (aligned to the right) -->
|
||
|
|
<Button
|
||
|
|
android:id="@+id/btnRemove"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:background="@drawable/remove_btn"
|
||
|
|
android:text="REMOVE"
|
||
|
|
android:textColor="@android:color/black" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/btnAddMore"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="ADD MORE +"
|
||
|
|
android:background="@drawable/add_more_button"
|
||
|
|
android:textColor="@android:color/black"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/itemCard"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
android:layout_marginTop="50dp"/>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:gravity="center"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
android:padding="8dp">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/btnCancel"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="48dp"
|
||
|
|
android:text="CANCEL"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:textColor="@android:color/black"/>
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/backgroundcolor_ordercart1_button"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="48dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="ORDER"
|
||
|
|
android:background="@drawable/kiosk_theme2_button"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:layout_marginEnd="5dp"
|
||
|
|
android:layout_marginStart="8dp"/>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/priceDetails"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/txtGST"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="GST : ₹40.00"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textColor="@android:color/black"
|
||
|
|
android:textSize="10sp" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/txtTotalAmount"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Total Amount ₹230.00"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:textColor="@android:color/black"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/slide4"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
app:cardCornerRadius="16dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/orderPage3"
|
||
|
|
android:visibility="visible"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:padding="16dp">
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="ORDER VIEW"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textSize="30sp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textStyle="bold"/>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/orderPageCont3"
|
||
|
|
android:visibility="gone"
|
||
|
|
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:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:layout_marginTop="16dp">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Item Name"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Quantity"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textSize="16sp"
|
||
|
|
/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Price"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Remove"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginTop="8dp">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Chettinad Mutton Biryani"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
app:cardCornerRadius="08dp">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@color/colorNeutral"
|
||
|
|
android:gravity="center_vertical|center_horizontal"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:paddingHorizontal="8dp">
|
||
|
|
|
||
|
|
<ImageButton
|
||
|
|
android:layout_width="15sp"
|
||
|
|
android:layout_height="32dp"
|
||
|
|
android:scaleType="fitCenter"
|
||
|
|
android:src="@drawable/mines"
|
||
|
|
android:background="?attr/selectableItemBackgroundBorderless" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="1"
|
||
|
|
android:textSize="08sp"
|
||
|
|
android:textColor="@color/white"
|
||
|
|
android:paddingHorizontal="16dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<ImageButton
|
||
|
|
android:layout_width="15dp"
|
||
|
|
android:layout_height="32dp"
|
||
|
|
android:scaleType="fitCenter"
|
||
|
|
android:src="@drawable/increase"
|
||
|
|
android:background="?attr/selectableItemBackgroundBorderless" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="₹230.00"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:gravity="center" />
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:src="@drawable/baseline_delete_24"
|
||
|
|
android:tint="#000000" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginTop="8dp">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Peri Peri Tandoori Chicken Classic burger"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="01"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:gravity="center" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="₹230.00"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:gravity="center" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:src="@drawable/baseline_delete_24"
|
||
|
|
android:tint="#000000" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/orderPageCont2"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
app:cardCornerRadius="15dp"
|
||
|
|
android:layout_margin="8dp"
|
||
|
|
app:cardBackgroundColor="#FFFFFF">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:padding="10dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="120dp"
|
||
|
|
android:scaleType="centerCrop"
|
||
|
|
android:src="@drawable/orderpic" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:text="Peri Peri Tandoori Chicken Classic Burger"
|
||
|
|
android:textColor="#000000"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:maxLines="2"
|
||
|
|
android:ellipsize="end" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="4dp"
|
||
|
|
android:text="₹230.00"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="#4CAF50"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginTop="08dp"
|
||
|
|
android:gravity="center_vertical">
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:background="@drawable/removebutton"
|
||
|
|
android:src="@drawable/reduce"
|
||
|
|
android:paddingBottom="10dp"
|
||
|
|
/>
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="8dp"
|
||
|
|
android:text="01"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="#000000"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:background="@drawable/removebutton"
|
||
|
|
android:src="@drawable/add_plus"
|
||
|
|
/>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:src="@drawable/baseline_delete_24"
|
||
|
|
android:layout_marginLeft="16dp"
|
||
|
|
android:tint="#000000" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:layout_margin="8dp"
|
||
|
|
app:cardCornerRadius="15dp"
|
||
|
|
app:cardBackgroundColor="#FFFFFF">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:padding="10dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="120dp"
|
||
|
|
android:scaleType="centerCrop"
|
||
|
|
android:src="@drawable/orderpic2" /> <!-- Replace with actual drawable -->
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:text="Peri Peri Tandoori Chicken Classic Burger"
|
||
|
|
android:textColor="#000000"
|
||
|
|
android:textSize="14sp"
|
||
|
|
android:maxLines="2"
|
||
|
|
android:ellipsize="end" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="4dp"
|
||
|
|
android:text="₹230.00"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="#4CAF50"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_marginTop="8dp"
|
||
|
|
android:gravity="center_vertical">
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:background="@drawable/removebutton"
|
||
|
|
android:src="@drawable/reduce"
|
||
|
|
android:paddingBottom="10dp"
|
||
|
|
/>
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="8dp"
|
||
|
|
android:text="01"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="#000000"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:background="@drawable/removebutton"
|
||
|
|
android:src="@drawable/add_plus" />
|
||
|
|
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:src="@drawable/baseline_delete_24"
|
||
|
|
android:layout_marginLeft="16dp"
|
||
|
|
android:tint="#000000" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:id="@+id/orderPageCont1"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="10dp"
|
||
|
|
android:layout_marginTop="32dp"
|
||
|
|
android:background="#FFFFFF"
|
||
|
|
android:visibility="visible"
|
||
|
|
app:cardCornerRadius="16dp">
|
||
|
|
|
||
|
|
|
||
|
|
<!-- Item Name -->
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="15dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:layout_marginRight="5dp"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:text="CHETTINAD MUTTON BIRYANI"
|
||
|
|
android:textColor="#000000"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<!-- Item Price -->
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:gravity="end"
|
||
|
|
android:text="₹ 230.00"
|
||
|
|
android:layout_marginRight="15dp"
|
||
|
|
android:textColor="#000000"
|
||
|
|
android:textSize="18sp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
|
||
|
|
android:layout_marginTop="80dp"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1">
|
||
|
|
|
||
|
|
|
||
|
|
<!-- Quantity Controls -->
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/quantity_controls"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginLeft="15dp"
|
||
|
|
android:layout_marginTop="25dp"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<!-- Minus Button -->
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:background="@drawable/removebutton"
|
||
|
|
android:paddingBottom="10dp"
|
||
|
|
android:src="@drawable/reduce" />
|
||
|
|
|
||
|
|
|
||
|
|
<!-- Quantity -->
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="16dp"
|
||
|
|
android:layout_marginTop="05dp"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:gravity="center"
|
||
|
|
android:text="01"
|
||
|
|
android:textColor="#000000"
|
||
|
|
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="25dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:background="@drawable/removebutton"
|
||
|
|
android:src="@drawable/add_plus" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<!-- Remove Button -->
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:layout_margin="@dimen/dp_15"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:gravity="end">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:layout_width="150dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/removebutton"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:text="REMOVE"
|
||
|
|
android:layout_marginTop="20dp"
|
||
|
|
android:textColor="#000000" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|