165 lines
5.5 KiB
XML
165 lines
5.5 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<LinearLayout 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:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/grey_border_blueborder_nocurve"
|
||
|
|
android:divider="@drawable/custom_divider"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:showDividers="middle">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/sino"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="5dp"
|
||
|
|
android:text="Sl"
|
||
|
|
android:textColor="@color/black">
|
||
|
|
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/offername"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="5dp"
|
||
|
|
android:text="Offer Name"
|
||
|
|
android:textColor="@color/black">
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/minqty"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="5dp"
|
||
|
|
android:text="Min Qty"
|
||
|
|
android:textColor="@color/black">
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/minpurchase"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="5dp"
|
||
|
|
android:text="Min Purchase"
|
||
|
|
android:textColor="@color/black">
|
||
|
|
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/rewardtype"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="5dp"
|
||
|
|
android:text="Reward Type"
|
||
|
|
android:textColor="@color/black">
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/rewardvalue"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="5dp"
|
||
|
|
android:text="Reward Value"
|
||
|
|
android:textColor="@color/black">
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/generatecoupon"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="5dp"
|
||
|
|
android:text="Generate Coupon"
|
||
|
|
android:textColor="@color/black">
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/from"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="5dp"
|
||
|
|
android:text="From"
|
||
|
|
android:textColor="@color/black">
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/to"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="1.5"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:gravity="center"
|
||
|
|
android:padding="5dp"
|
||
|
|
android:text="To"
|
||
|
|
android:textColor="@color/black">
|
||
|
|
</TextView>
|
||
|
|
|
||
|
|
//arun
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="2"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:padding="5dp">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/edit"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:src="@drawable/editicon">
|
||
|
|
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/delete"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginStart="@dimen/dp_5"
|
||
|
|
android:src="@drawable/inactive">
|
||
|
|
</ImageView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|