mirror of
https://github.com/Nezumi-2711/PRM392.git
synced 2026-09-22 13:48:29 +00:00
54 lines
2.0 KiB
XML
54 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<com.google.android.material.card.MaterialCardView
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="8dp"
|
|
app:cardElevation="4dp"
|
|
>
|
|
|
|
<LinearLayout
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:orientation="horizontal"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:layout_weight="9"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content">
|
|
|
|
<TextView
|
|
android:id="@+id/cart_item_name"
|
|
android:layout_marginLeft="10dp"
|
|
android:gravity="center_vertical|start"
|
|
android:textAllCaps="true"
|
|
android:textStyle="bold"
|
|
android:text="Food 01"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<TextView
|
|
android:id="@+id/cart_item_Price"
|
|
android:layout_marginLeft="10dp"
|
|
android:gravity="center_vertical|start"
|
|
android:textAllCaps="true"
|
|
android:textStyle="italic"
|
|
android:text="100,000"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content" />
|
|
</LinearLayout>
|
|
|
|
<ImageView
|
|
android:layout_gravity="center_vertical|end"
|
|
android:layout_marginRight="16dp"
|
|
android:id="@+id/cart_item_count"
|
|
android:layout_width="20dp"
|
|
android:layout_height="20dp" />
|
|
|
|
</LinearLayout>
|
|
</com.google.android.material.card.MaterialCardView> |