216 lines
7.2 KiB
XML
216 lines
7.2 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:id="@+id/cardView"
|
||
|
|
app:cardUseCompatPadding="true"
|
||
|
|
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
>
|
||
|
|
<LinearLayout
|
||
|
|
android:paddingVertical="5dp"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="12"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/slNo"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="30dp"
|
||
|
|
android:text=""
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="13.3sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="3.1"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/foodName"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
|
||
|
|
android:text="Fried Chicken"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="13.3sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_weight="1.2">
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:id="@+id/mrp"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="500"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="13.3sp"
|
||
|
|
android:gravity="center"
|
||
|
|
/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_weight="1"
|
||
|
|
>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/discount"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:text="-"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="13.3sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_weight="1">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/quantity"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:text="1"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="13.3sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_weight="1">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/rate"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:text="-"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="13.3sp" />
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_weight="1.25">
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/price"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:text="₹60"
|
||
|
|
android:fontFamily="@font/popins_semibold"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:textAlignment="center"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="13.3sp" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_weight="1">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="22dp"
|
||
|
|
android:layout_height="25dp"
|
||
|
|
android:padding="4dp"
|
||
|
|
android:layout_marginHorizontal="8dp"
|
||
|
|
android:src="@drawable/edit_vec"
|
||
|
|
></ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="24dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:id="@+id/deleteProd"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/delete"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/delete_vec" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|