Blame view

android/PromoterRelease/res/layout/activity_promoter.xml 6.93 KB
d1683fe9a   luohaijiang   Promoter Resulce
1
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
d1683fe9a   luohaijiang   Promoter Resulce
2
      android:layout_width="match_parent"
636deb8ba   赵康   release1.0.2
3
      android:layout_height="match_parent" >
d1683fe9a   luohaijiang   Promoter Resulce
4

636deb8ba   赵康   release1.0.2
5
      <LinearLayout
d1683fe9a   luohaijiang   Promoter Resulce
6
7
          android:layout_width="match_parent"
          android:layout_height="match_parent"
636deb8ba   赵康   release1.0.2
8
9
          android:background="@color/common_bg"
          android:orientation="horizontal" >
e2f832f5a   luohaijiang   SDK 版本号访问接口不能混淆文档添加
10

636deb8ba   赵康   release1.0.2
11
          <!-- 左边宣传图片 -->
e2f832f5a   luohaijiang   SDK 版本号访问接口不能混淆文档添加
12

636deb8ba   赵康   release1.0.2
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
          <RelativeLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:layout_marginRight="6dp"
              android:layout_weight="9" >
  
              <ImageView
                  android:id="@+id/left_imge"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:scaleType="fitXY" />
  
              <Button
                  android:id="@+id/promoter_linked"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:layout_alignParentBottom="true"
                  android:layout_centerHorizontal="true"
                  android:layout_marginBottom="20dp"
                  android:background="@drawable/promoter_linked"
                  android:gravity="center"
                  android:text="@string/promote"
                  android:textColor="@color/red" />
          </RelativeLayout>
  
          <LinearLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:layout_weight="5"
              android:orientation="vertical" >
  
              <RelativeLayout
                  android:layout_weight="2"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent" >
  
                  <ImageView
                      android:id="@+id/right_top"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:scaleType="fitXY"
                       />
                  <!-- 进度条上方进度提示 -->
  
                  <RelativeLayout
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:layout_marginLeft="32dp"
                      android:layout_marginTop="28dp"
                      android:gravity="bottom"
                      android:orientation="horizontal" >
  
                      <!-- 进度条 -->
  
                      <LinearLayout
                          android:id="@+id/playout"
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          android:layout_toLeftOf="@+id/reward"
                          android:orientation="vertical" >
  
                          <LinearLayout
                              android:id="@+id/progress_instructions"
                              android:layout_width="match_parent"
                              android:layout_height="wrap_content"
                              android:orientation="horizontal" />
  
                          <ProgressBar
                              android:id="@+id/prgress_bar"
                              style="?android:attr/progressBarStyleHorizontal"
                              android:layout_width="match_parent"
                              android:layout_height="wrap_content"
                              android:layout_marginRight="12.5dp"
                              android:background="@drawable/progress_bar_background"
                              android:progressDrawable="@drawable/progress_drawable" />
                      </LinearLayout>
                      <!-- 获取奖励 -->
d1683fe9a   luohaijiang   Promoter Resulce
90

636deb8ba   赵康   release1.0.2
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
                      <Button
                          android:id="@id/reward"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:layout_alignBottom="@id/playout"
                          android:layout_alignParentRight="true"
                          android:layout_marginRight="26dp"
                          android:background="@drawable/btn_reward_bg"
                          android:enabled="true"
                          android:gravity="bottom|center_horizontal"
                          android:paddingBottom="2dp"
                          android:text="@string/claim"
                          android:textColor="@color/btn_text_color" />
                  </RelativeLayout>
              </RelativeLayout>
  
              <RelativeLayout
                  android:layout_weight="3"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent" >
  
                  <ImageView
                      android:id="@+id/right_down"
                      android:layout_width="match_parent"
                      android:layout_height="match_parent"
                      android:scaleType="fitXY"
                       />
  
                  <LinearLayout
                      android:layout_width="wrap_content"
                      android:layout_height="wrap_content"
                      android:layout_alignParentBottom="true"
                      android:layout_centerHorizontal="true"
                      android:layout_marginBottom="21dp"
                      android:gravity="center_vertical"
                      android:orientation="horizontal" >
  
                      <EditText
                          android:id="@+id/edittext"
                          android:layout_width="wrap_content"
                          android:layout_height="36.5dp"
                          android:layout_marginRight="22.5dp"
                          android:background="@drawable/edite_hint"
                          android:paddingLeft="10dp"
                          android:textColor="@color/edit_text_color" />
  
                      <Button
                          android:id="@+id/confirm"
                          android:layout_width="wrap_content"
                          android:layout_height="30dp"
                          android:background="@drawable/btn_confirm_bg"
                          android:enabled="false"
                          android:paddingBottom="2dp"
                          android:text="@string/verify"
                          android:textColor="@color/btn_confirm_text_color" />
                  </LinearLayout>
              </RelativeLayout>
          </LinearLayout>
      </LinearLayout>
      <!-- 中间指示 -->
  
      <ImageView
          android:id="@+id/middle_instructions"
d1683fe9a   luohaijiang   Promoter Resulce
154
155
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
636deb8ba   赵康   release1.0.2
156
157
158
159
          android:layout_marginLeft="210dp"
          android:layout_marginTop="101dp"
          android:scaleType="fitXY"
          android:src="@drawable/middle_instructions" />
d1683fe9a   luohaijiang   Promoter Resulce
160
161
162
163
      <!-- 关闭按钮 -->
  
      <ImageView
          android:id="@+id/close_image"
636deb8ba   赵康   release1.0.2
164
165
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
d1683fe9a   luohaijiang   Promoter Resulce
166
167
168
          android:layout_alignParentRight="true"
          android:layout_alignParentTop="true"
          android:src="@drawable/close_image" />
d1683fe9a   luohaijiang   Promoter Resulce
169
170
  
  </RelativeLayout>