fragment_welfare.xml
2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
>
<LinearLayout
android:id="@+id/sum_lin"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="@drawable/home_page_bg"
android:layout_margin="10dp"
android:padding="10dp"
android:backgroundTint="#ffffff">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="15dp"
android:gravity="center_horizontal"
android:visibility="gone">
<TextView
android:id="@+id/gift_text"
android:layout_width="100dp"
android:layout_height="35dp"
android:background="@drawable/round_sever_top1"
android:gravity="center"
android:text="礼包"
android:textColor="#ffffff"
android:textSize="18sp" />
<TextView
android:id="@+id/djq_text"
android:layout_width="100dp"
android:layout_height="35dp"
android:background="@drawable/round_sever_top2"
android:gravity="center"
android:text="代金券"
android:textColor="#FF6905"
android:textSize="18sp" />
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="#ffffff">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="福利"
android:textColor="#000000"
android:textSize="18dp" />
<ImageView
android:id="@+id/close"
android:layout_alignParentRight="true"
android:layout_marginRight="10dp"
android:layout_width="20dp"
android:layout_height="20dp"
android:layout_centerVertical="true"
android:src="@drawable/wancms_clear"
/>
</RelativeLayout>
<android.support.v4.widget.SwipeRefreshLayout
android:id="@+id/swipeRefreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ListView
android:padding="10dp"
android:id="@+id/gift_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:divider="#00000000"
android:dividerHeight="10dp"
android:listSelector="@color/tranparent" />
</android.support.v4.widget.SwipeRefreshLayout>
</LinearLayout>
</LinearLayout>