122 lines
3.4 KiB
XML
122 lines
3.4 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<FrameLayout
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:id="@+id/frameLayout"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_margin="8dp"
|
||
|
|
android:id="@+id/cardparent"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<androidx.cardview.widget.CardView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:id="@+id/cardView">
|
||
|
|
|
||
|
|
|
||
|
|
<com.google.android.flexbox.FlexboxLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:id="@+id/flexboxLayout"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:layout_margin="10dp"
|
||
|
|
app:background="@drawable/rectangle_683"
|
||
|
|
app:cardBackgroundColor="@color/white"
|
||
|
|
app:cardCornerRadius="5dp"
|
||
|
|
app:cardMaxElevation="5dp"
|
||
|
|
app:cardElevation="@dimen/sp_1">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
app:layout_flexBasisPercent="50%">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/itemName"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center_vertical"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:elevation="3dp"
|
||
|
|
android:letterSpacing="0.02"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="Item Name"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:textAllCaps="false"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="14dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/amtTxt"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center_vertical"
|
||
|
|
android:layout_marginLeft="10dp"
|
||
|
|
android:elevation="3dp"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:text="₹ 10.0 /-"
|
||
|
|
android:textAllCaps="false"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="13dp"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:visibility="visible"
|
||
|
|
android:id="@+id/imageView"
|
||
|
|
android:layout_width="75dp"
|
||
|
|
android:layout_height="60dp"
|
||
|
|
android:layout_marginStart="10dp"
|
||
|
|
android:backgroundTint="@color/reserved"
|
||
|
|
android:scaleType="fitXY"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:src="@drawable/commonlogo"
|
||
|
|
app:layout_flexBasisPercent="50%"/>
|
||
|
|
|
||
|
|
|
||
|
|
</com.google.android.flexbox.FlexboxLayout>
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
|
||
|
|
</androidx.cardview.widget.CardView>
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_marginTop="2dp"
|
||
|
|
android:id="@+id/count_txt"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="top|end"
|
||
|
|
android:text="71"
|
||
|
|
android:textColor="#FFFFFF"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:background="@drawable/badge_background"
|
||
|
|
android:paddingStart="4dp"
|
||
|
|
android:paddingEnd="4dp"
|
||
|
|
android:paddingTop="1dp"
|
||
|
|
android:singleLine="true"
|
||
|
|
android:paddingBottom="1dp"
|
||
|
|
android:elevation="4dp"/>
|
||
|
|
|
||
|
|
</FrameLayout>
|