161 lines
5.3 KiB
XML
161 lines
5.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView 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="5dp"
|
|
android:elevation="8dp"
|
|
app:cardCornerRadius="4dp">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="3dp"
|
|
android:id="@+id/list_cart"
|
|
android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="2">
|
|
|
|
<!--text view for our course tracks-->
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="3dp"
|
|
android:text="Product Buyer"
|
|
android:textColor="@color/black" />
|
|
|
|
|
|
<!--text view for our course duration-->
|
|
<TextView
|
|
android:id="@+id/ProductBuyer"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="3dp"
|
|
android:text="buyer"
|
|
android:textColor="@color/black" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:visibility="gone"
|
|
android:weightSum="2">
|
|
|
|
<!--text view for our course tracks-->
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="3dp"
|
|
android:text="Cart Id"
|
|
android:textColor="@color/black" />
|
|
|
|
|
|
<!--text view for our course duration-->
|
|
<TextView
|
|
android:id="@+id/CartID"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="3dp"
|
|
android:text="ID"
|
|
android:textColor="@color/black" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="2">
|
|
|
|
<!--text view for our course tracks-->
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="3dp"
|
|
android:text="Product Name"
|
|
android:textColor="@color/black" />
|
|
|
|
|
|
<!--text view for our course duration-->
|
|
<TextView
|
|
android:id="@+id/ProductName"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="3dp"
|
|
android:text="Name"
|
|
android:textColor="@color/black" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="2">
|
|
|
|
<!--text view for our course tracks-->
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="3dp"
|
|
android:text="Product Price"
|
|
android:textColor="@color/black" />
|
|
|
|
|
|
<!--text view for our course duration-->
|
|
<TextView
|
|
android:id="@+id/ProductPrice"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="3dp"
|
|
android:text="Price"
|
|
android:textColor="@color/black" />
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="horizontal"
|
|
android:weightSum="2">
|
|
|
|
<!--text view for our course tracks-->
|
|
<TextView
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="3dp"
|
|
android:text="Quantity"
|
|
android:textColor="@color/black" />
|
|
|
|
|
|
<!--text view for our course duration-->
|
|
<TextView
|
|
android:id="@+id/Quantity"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:padding="3dp"
|
|
android:text="Quantity"
|
|
android:textColor="@color/black" />
|
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
|
</androidx.cardview.widget.CardView> |