fragment_gift.xml
4.45 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/gift_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ImageView
android:id="@+id/gift_showview"
android:layout_width="match_parent"
android:layout_height="200dp" />
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@+id/gift_showview" />
<LinearLayout
android:id="@+id/gift_mainview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/my_send"
android:layout_below="@+id/gift_showview"
android:background="@color/text_white_color"
android:orientation="vertical">
<com.ivt.plus.indicator.GiftTabPageIndicator
android:id="@+id/gift_indicator"
android:layout_width="match_parent"
android:layout_height="30dp"
android:background="@color/TextColorWhite" />
<android.support.v4.view.ViewPager
android:id="@+id/gift_pager"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
</LinearLayout>
<RelativeLayout
android:id="@+id/my_gold"
android:layout_width="match_parent"
android:layout_height="30dp"
android:layout_above="@+id/my_send"
android:background="@drawable/gift_my_coin_bg"
android:gravity="center_vertical">
<TextView
android:id="@+id/my_gold_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="10dp"
android:text="我的中国币:"
android:textColor="@color/text_white_color"
android:textSize="@dimen/personal_text_size_14" />
<TextView
android:id="@+id/my_gold_size"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_toRightOf="@+id/my_gold_title"
android:textColor="@color/text_white_color"
android:textSize="@dimen/personal_text_size_14" />
<TextView
android:id="@+id/my_gold_add"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="35dp"
android:text="充值"
android:textColor="@color/text_white_color"
android:textSize="@dimen/personal_text_size_14" />
<ImageView
android:layout_width="11dp"
android:layout_height="24dp"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:layout_marginRight="10dp"
android:background="@drawable/btn_arrows_gift" />
</RelativeLayout>
<LinearLayout
android:id="@+id/my_send"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_alignParentBottom="true"
android:background="@color/text_white_color"
android:gravity="center_vertical"
android:orientation="horizontal">
<Button
android:id="@+id/btn_cancel"
android:layout_width="match_parent"
android:layout_height="36dp"
android:layout_marginLeft="10dp"
android:layout_marginRight="5dp"
android:layout_weight="1"
android:background="@drawable/btn_cancel_gift"
android:text="@string/gift_cancel"
android:textColor="@color/text_white_color"
android:textSize="17sp" />
<Button
android:id="@+id/btn_send"
android:layout_width="match_parent"
android:layout_height="36dp"
android:layout_marginLeft="5dp"
android:layout_marginRight="10dp"
android:layout_weight="1"
android:background="@drawable/btn_give_gift"
android:text="@string/gift_send"
android:textColor="@color/text_white_color"
android:textSize="17sp" />
</LinearLayout>
</RelativeLayout>