Blame view
android/PromoterRelease/res/layout/activity_promoter.xml
4.86 KB
d1683fe9a
|
1 2 |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" |
e2f832f5a
|
3 |
android:id="@+id/root_layout" |
d1683fe9a
|
4 5 |
android:layout_width="match_parent" android:layout_height="match_parent" |
e2f832f5a
|
6 |
android:background="@color/bankground" |
d1683fe9a
|
7 8 9 10 11 12 13 14 |
android:orientation="horizontal" > <!-- 左边宣传图片 --> <ImageView android:id="@+id/left_imge" android:layout_width="wrap_content" android:layout_height="match_parent" |
e2f832f5a
|
15 |
android:layout_alignParentLeft="true" |
d1683fe9a
|
16 |
android:scaleType="fitXY" |
e2f832f5a
|
17 |
/> |
d1683fe9a
|
18 19 20 21 22 23 24 25 |
<!-- 右边宣传图片 --> <ImageView android:id="@+id/right_imge" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_toRightOf="@+id/left_imge" android:scaleType="fitXY" |
e2f832f5a
|
26 |
android:visibility="gone" /> |
d1683fe9a
|
27 |
<!-- 右边上 --> |
e2f832f5a
|
28 |
|
d1683fe9a
|
29 30 31 32 33 34 |
<ImageView android:id="@+id/right_top_imge" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_toRightOf="@+id/left_imge" android:scaleType="fitXY" |
e2f832f5a
|
35 36 |
/> <!-- 右边上下 --> |
d1683fe9a
|
37 38 39 40 |
<ImageView android:id="@+id/right_down_imge" android:layout_width="match_parent" android:layout_height="match_parent" |
d1683fe9a
|
41 |
android:layout_below="@+id/right_top_imge" |
e2f832f5a
|
42 |
android:layout_toRightOf="@+id/left_imge" |
d1683fe9a
|
43 |
android:scaleType="fitXY" |
e2f832f5a
|
44 |
/> |
d1683fe9a
|
45 46 47 48 49 50 51 52 |
<!-- 获取推广链接按钮 --> <Button android:id="@+id/promoter_linked" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentLeft="true" |
e2f832f5a
|
53 |
android:background="@drawable/promoter_linked" |
d1683fe9a
|
54 |
android:gravity="center" |
e2f832f5a
|
55 56 57 58 |
android:paddingBottom="3dp" android:textSize="15sp" android:text="Promote" android:textColor="#ff000000" /> |
d1683fe9a
|
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
<!-- 关闭按钮 --> <ImageView android:id="@+id/close_image" android:layout_width="54px" android:layout_height="54px" android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:src="@drawable/close_image" /> <!-- 进度条上方进度提示 --> <LinearLayout android:id="@+id/progress_instructions" android:layout_width="470px" android:layout_height="51px" android:layout_alignParentTop="true" android:layout_toRightOf="@+id/left_imge" android:orientation="horizontal" /> <!-- 进度条 --> <com.gumptech.promoter.view.ProgressBar android:id="@+id/prgress_bar" android:layout_width="470px" android:layout_height="64px" |
e2f832f5a
|
83 84 |
android:layout_below="@+id/progress_instructions" android:layout_toRightOf="@+id/left_imge" |
d1683fe9a
|
85 86 |
android:max="100" android:progress="30" |
e2f832f5a
|
87 |
android:progressDrawable="@drawable/progressbar_horizontal_1" /> |
d1683fe9a
|
88 89 90 91 92 93 94 95 |
<!-- 获取奖励 --> <Button android:id="@+id/reward" android:layout_width="207px" android:layout_height="86px" android:layout_alignParentTop="true" android:layout_toRightOf="@+id/prgress_bar" |
e2f832f5a
|
96 97 98 |
android:background="@drawable/reward_grey" android:gravity="bottom|center_horizontal" android:paddingBottom="2dp" |
d1683fe9a
|
99 100 |
android:scaleType="fitXY" android:text="claim" |
e2f832f5a
|
101 |
android:textColor="#ff0000" /> |
d1683fe9a
|
102 103 104 105 106 107 108 109 110 111 112 |
<!-- 中间指示 --> <ImageView android:id="@+id/middle_instructions" android:layout_width="57px" android:layout_height="38px" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:scaleType="fitXY" android:src="@drawable/middle_instructions" /> <!-- 邀请码编辑框 --> |
d1683fe9a
|
113 114 115 116 |
<EditText android:id="@+id/edittext" android:layout_width="336px" android:layout_height="78px" |
e2f832f5a
|
117 118 119 120 |
android:layout_alignParentBottom="true" android:layout_toRightOf="@+id/left_imge" android:background="@drawable/edite_hint" android:textColor="#ff9000" /> |
d1683fe9a
|
121 122 123 124 125 126 |
<Button android:id="@+id/confirm" android:layout_width="173px" android:layout_height="60px" android:layout_alignParentBottom="true" |
e2f832f5a
|
127 |
android:layout_toRightOf="@+id/edittext" |
d1683fe9a
|
128 |
android:background="@drawable/confirm" |
e2f832f5a
|
129 130 131 132 133 134 135 136 137 138 139 140 141 142 |
android:gravity="center" android:textSize="15sp" android:paddingBottom="5dp" android:text="Verify" /> <!-- <TextView android:id="@+id/data_load" android:layout_width="match_parent" android:layout_height="match_parent" android:gravity="center" android:visibility="gone" android:background="@color/no_reward_color" android:textSize="25sp" android:text="Data loading failed Click to reload"/> --> |
d1683fe9a
|
143 144 |
</RelativeLayout> |