230 lines
5.2 KiB
XML
230 lines
5.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical">
|
|
|
|
<LinearLayout
|
|
android:paddingVertical="@dimen/dp_5"
|
|
android:id="@+id/backgrounddesign"
|
|
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/commonlogo">
|
|
|
|
</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:id="@+id/item"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="@dimen/dp_14"
|
|
android:singleLine="true"
|
|
android:gravity="start"
|
|
android:layout_marginEnd="8dp"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/black"
|
|
android:fontFamily="@font/inter_600"
|
|
android:text="Pozo"/>
|
|
|
|
<TextView
|
|
android:id="@+id/mrp"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1.2"
|
|
android:layout_marginEnd="8dp"
|
|
android:singleLine="true"
|
|
android:textSize="@dimen/dp_14"
|
|
android:fontFamily="@font/inter_600"
|
|
android:text="\u20b9 24"/>
|
|
|
|
|
|
<TextView
|
|
android:id="@+id/amount"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:textSize="@dimen/dp_14"
|
|
android:singleLine="true"
|
|
android:layout_marginEnd="8dp"
|
|
android:fontFamily="@font/inter_600"
|
|
android:text="\u20b9 24"/>
|
|
|
|
|
|
<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/qty"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="2"
|
|
android:fontFamily="@font/inter_600"
|
|
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/editbtn"
|
|
android:layout_height="wrap_content"
|
|
android:gravity="center"
|
|
android:layout_gravity="center"
|
|
android:layout_weight="1.5">
|
|
|
|
<ImageView
|
|
android:id="@+id/edit"
|
|
android:layout_width="15dp"
|
|
android:layout_height="15dp"
|
|
android:src="@drawable/edit_icon"
|
|
app:tint="@color/black">
|
|
|
|
</ImageView>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
android:id="@+id/deleteIcon"
|
|
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="15dp"
|
|
android:layout_height="15dp"
|
|
android:src="@drawable/trash_can_delete"
|
|
app:tint="@color/red">
|
|
|
|
</ImageView>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |