|
|
|
@ -1,9 +1,9 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="#fff"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/category_product_image"
|
|
|
|
@ -12,26 +12,54 @@
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_marginTop="5dp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/category_product_name"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_toRightOf="@+id/category_product_image"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_marginLeft="50dp"
|
|
|
|
|
android:layout_marginTop="25dp"
|
|
|
|
|
android:textColor="#050505"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/category_product_price"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_toRightOf="@+id/category_product_name"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_marginLeft="100dp"
|
|
|
|
|
android:layout_marginTop="25dp"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textColor="#050505"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/category_product_name"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_marginLeft="50dp"
|
|
|
|
|
android:layout_marginTop="15dp"
|
|
|
|
|
android:layout_toRightOf="@+id/category_product_image"
|
|
|
|
|
android:textColor="#050505"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/category_product_price"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="30dp"
|
|
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:layout_marginLeft="100dp"
|
|
|
|
|
android:layout_marginTop="15dp"
|
|
|
|
|
android:layout_toRightOf="@+id/category_product_name"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:textColor="#050505"
|
|
|
|
|
android:textSize="16sp" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="0dp"
|
|
|
|
|
android:layout_weight="1"
|
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/addCart"
|
|
|
|
|
android:layout_marginTop="10dp"
|
|
|
|
|
android:layout_width="36dp"
|
|
|
|
|
android:layout_height="36dp"
|
|
|
|
|
android:layout_marginLeft="220dp"
|
|
|
|
|
android:background="@drawable/left" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|