Blame view
android/PromoterRelease/res/layout/activity_promoter.xml
4.66 KB
|
d1683fe9a
|
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 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 |
<RelativeLayout 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="horizontal" >
<!-- 左边宣传图片 -->
<ImageView
android:id="@+id/left_imge"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:scaleType="fitXY"
android:src="@drawable/left_image" />
<!-- 右边宣传图片 -->
<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"
android:visibility="gone"
android:src="@drawable/right_image" />
<!-- 右边上 -->
<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"
android:src="@drawable/right_top" />
<!-- 右边上下-->
<ImageView
android:id="@+id/right_down_imge"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_toRightOf="@+id/left_imge"
android:layout_below="@+id/right_top_imge"
android:scaleType="fitXY"
android:src="@drawable/right_down" />
<!-- 获取推广链接按钮 -->
<Button
android:id="@+id/promoter_linked"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:text="Promote"
android:gravity="center"
android:textColor="#ff000000"
android:background="@drawable/promoter_linked" />
<!-- 关闭按钮 -->
<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"
android:max="100"
android:progress="30"
android:layout_below="@+id/progress_instructions"
android:layout_toRightOf="@+id/left_imge"
android:progressDrawable="@drawable/progressbar_horizontal_1"
/>
<!-- 获取奖励 -->
<Button
android:id="@+id/reward"
android:layout_width="207px"
android:layout_height="86px"
android:layout_alignParentTop="true"
android:layout_toRightOf="@+id/prgress_bar"
android:scaleType="fitXY"
android:text="claim"
android:paddingBottom="2dp"
android:textColor="#ff0000"
android:gravity="bottom|center_horizontal"
android:background="@drawable/reward"
/>
<!-- 中间指示 -->
<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" />
<!-- 邀请码编辑框 -->
<LinearLayout
android:id="@+id/edittext_layout"
android:layout_width="336px"
android:layout_height="78px"
android:layout_alignParentBottom="true"
android:layout_toRightOf="@+id/left_imge"
android:background="@drawable/edite_hint"
android:orientation="horizontal" >
<EditText
android:id="@+id/edittext"
android:layout_width="336px"
android:layout_height="78px"
android:textColor="#ff9000"
android:background="#00000000" />
</LinearLayout>
<Button
android:id="@+id/confirm"
android:layout_width="173px"
android:layout_height="60px"
android:layout_alignParentBottom="true"
android:layout_toRightOf="@+id/edittext_layout"
android:text="Verify"
android:gravity="center"
android:background="@drawable/confirm"
/>
</RelativeLayout>
|