|
|
@@ -1,124 +0,0 @@
|
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:background="@color/app">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:padding="8dp"
|
|
|
- android:background="@color/white"
|
|
|
- android:layout_marginLeft="12dp"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:layout_weight="1">
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="3"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:layout_marginLeft="12dp">
|
|
|
-
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_weight="1">
|
|
|
- <ImageView
|
|
|
- android:id="@+id/voucher_icon_iv"
|
|
|
- android:layout_width="49dp"
|
|
|
- android:layout_height="49dp"
|
|
|
- android:maxWidth="49dp"
|
|
|
- android:maxHeight="49dp"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:src="@drawable/classification_jiaosebanyan"/>
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_marginLeft="@dimen/app_horizontal_margin_small"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:layout_gravity="center_vertical">
|
|
|
- <TextView
|
|
|
- android:id="@+id/voucher_name_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content" />
|
|
|
- <TextView
|
|
|
- android:id="@+id/voucher_date_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content" />
|
|
|
- <TextView
|
|
|
- android:id="@+id/voucher_diraction_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content" />
|
|
|
- </LinearLayout>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/stale_dated_iv"
|
|
|
- android:layout_width="49dp"
|
|
|
- android:layout_height="49dp"
|
|
|
- android:src="@drawable/stale_dated_img"
|
|
|
- android:visibility="visible"
|
|
|
- android:layout_alignParentRight="true"/>
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_weight="10"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:layout_marginRight="4dp">
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="1sp"
|
|
|
- android:layout_height="39sp"
|
|
|
- android:background="@color/gray"
|
|
|
- android:layout_marginLeft="8dp"/>
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:gravity="center"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:visibility="visible">
|
|
|
- <TextView
|
|
|
- android:id="@+id/voucher_money_tv"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="¥10"
|
|
|
- android:textSize="17sp"
|
|
|
- android:gravity="center"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:lines="1"/>
|
|
|
- <TextView
|
|
|
- android:id="@+id/voucher_key_copy_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="center"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:text="代金券"
|
|
|
- android:textSize="7sp"/>
|
|
|
- </LinearLayout>
|
|
|
- </LinearLayout>
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:id="@+id/line_view"
|
|
|
- android:layout_width="3dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:background="@drawable/shape_line_blue"
|
|
|
- android:layout_marginRight="12dp"/>
|
|
|
-</LinearLayout>
|