258 lines
8.1 KiB
XML
258 lines
8.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/bgreorder"
|
|
android:layout_margin="@dimen/dp_5"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="2">
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:gravity="center"
|
|
android:layout_weight="0.7">
|
|
|
|
<ImageView
|
|
android:id="@+id/foodImage"
|
|
android:layout_width="75dp"
|
|
android:layout_height="75dp"
|
|
android:scaleType="fitXY"
|
|
android:src="@drawable/dairymilk">
|
|
|
|
</ImageView>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1.3">
|
|
<TextView
|
|
android:visibility="gone"
|
|
android:id="@+id/slNo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="25dp"
|
|
android:layout_weight="0.5"
|
|
android:text=""
|
|
android:textAlignment="center"
|
|
android:textColor="@color/black"
|
|
android:fontFamily="@font/gilorysemibold"
|
|
android:textSize="14sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/foodName"
|
|
android:layout_margin="2dp"
|
|
android:paddingHorizontal="10dp"
|
|
android:paddingVertical="1dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/black"
|
|
android:textSize="16sp"
|
|
android:text="Dairy Milk"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/price"
|
|
android:layout_margin="2dp"
|
|
android:paddingHorizontal="10dp"
|
|
android:paddingVertical="1dp"
|
|
android:layout_width="match_parent"
|
|
android:textSize="16sp"
|
|
android:textStyle="bold"
|
|
android:layout_height="wrap_content"
|
|
android:text="\u20b9 40.0"
|
|
/>
|
|
|
|
<TextView
|
|
android:id="@+id/mrp"
|
|
android:layout_margin="2dp"
|
|
android:paddingHorizontal="10dp"
|
|
android:paddingVertical="1dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold"
|
|
android:text="\u20b9 35.0"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
android:visibility="gone"
|
|
android:id="@+id/rate"
|
|
android:layout_margin="2dp"
|
|
android:paddingHorizontal="10dp"
|
|
android:paddingVertical="1dp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="14sp"
|
|
android:textStyle="bold"
|
|
android:text="\u20b9 0.0"
|
|
|
|
/>
|
|
|
|
<!-- LK -->
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:layout_marginBottom="10dp"
|
|
android:weightSum="6">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="3"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:visibility="visible">
|
|
<ImageView
|
|
android:id="@+id/decreaseQuantity"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/minus">
|
|
</ImageView>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:layout_weight="3">
|
|
|
|
<LinearLayout
|
|
android:layout_width="30dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:background="@drawable/ellipse_52"
|
|
android:orientation="vertical">
|
|
<TextView
|
|
android:id="@+id/quantity"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="2"
|
|
android:padding="2dp"
|
|
android:gravity="center"
|
|
android:textColor="@color/white"
|
|
android:textSize="16dp"
|
|
android:textAlignment="center">
|
|
</TextView>
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:visibility="visible">
|
|
<ImageView
|
|
android:id="@+id/increaseQuantity"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/plus">
|
|
</ImageView>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:id="@+id/editProd"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1.5">
|
|
<ImageView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:background="@drawable/edit">
|
|
</ImageView>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/deleteProd"
|
|
android:layout_width="0dp"
|
|
android:layout_gravity="center"
|
|
android:gravity="center"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1.5">
|
|
|
|
<ImageView
|
|
android:id="@+id/delete"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="center"
|
|
android:background="@drawable/delete_vec" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout> |