|
|
@@ -5,238 +5,246 @@
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
+ android:fillViewport="true"
|
|
|
android:orientation="vertical"
|
|
|
>
|
|
|
-<LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="75dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="57dp"
|
|
|
- android:layout_height="57dp"
|
|
|
- android:layout_gravity="center"
|
|
|
- app:srcCompat="@drawable/icon_info_banefit"
|
|
|
- />
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="23dp"
|
|
|
- android:orientation="vertical"
|
|
|
- >
|
|
|
-
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="center_horizontal"
|
|
|
- android:lineSpacingExtra="7sp"
|
|
|
- android:text="@string/special_code_register_title"
|
|
|
- android:textColor="@color/C000000"
|
|
|
- android:textSize="18sp"
|
|
|
- />
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_marginTop="75dp"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="11dp"
|
|
|
- android:orientation="vertical">
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="57dp"
|
|
|
+ android:layout_height="57dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ app:srcCompat="@drawable/icon_info_banefit"
|
|
|
+ />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:lineSpacingExtra="6sp"
|
|
|
- android:text="@string/special_code_register_detail"
|
|
|
- android:textColor="@color/C999999"
|
|
|
- android:textSize="14sp"
|
|
|
- />
|
|
|
- </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="25dp"
|
|
|
- android:layout_marginTop="82dp"
|
|
|
- android:layout_marginBottom="2dp"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:lineSpacingExtra="3.5sp"
|
|
|
- android:text="@string/special_code"
|
|
|
- android:textColor="#999999"
|
|
|
- android:textSize="12sp"
|
|
|
- android:layout_marginEnd="5dp"
|
|
|
- />
|
|
|
- <TextView
|
|
|
- android:background="@color/C000000"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_marginTop="23dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:lineSpacingExtra="7sp"
|
|
|
+ android:text="@string/special_code_register_title"
|
|
|
+ android:textColor="@color/C000000"
|
|
|
+ android:textSize="18sp"
|
|
|
+ />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textSize="9sp"
|
|
|
- android:paddingLeft="5dp"
|
|
|
- android:paddingRight="5dp"
|
|
|
- android:paddingTop="2dp"
|
|
|
- android:paddingBottom="2dp"
|
|
|
- android:textColor="@color/CFFFFFF"
|
|
|
- android:lineSpacingExtra="4sp"
|
|
|
- android:text="@string/life_plus"
|
|
|
- android:visibility="gone"
|
|
|
- tools:visibility="visible"
|
|
|
- />
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="25dp"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:layout_width="92dp"
|
|
|
+ android:layout_marginTop="11dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:lineSpacingExtra="6sp"
|
|
|
+ android:text="@string/special_code_register_detail"
|
|
|
+ android:textColor="@color/C999999"
|
|
|
+ android:textSize="14sp"
|
|
|
+ />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:hint="@string/special_code_characters"
|
|
|
- android:background="@null"
|
|
|
- android:lineSpacingExtra="6sp"
|
|
|
- android:textColorHint="@color/CC5C5C5"
|
|
|
- android:textSize="14sp"
|
|
|
- />
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="7dp"
|
|
|
- android:layout_height="1dp"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:layout_marginStart="6dp"
|
|
|
- android:layout_marginEnd="6dp"
|
|
|
- android:background="@color/C666666"
|
|
|
- />
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:layout_width="92dp"
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:layout_marginTop="82dp"
|
|
|
+ android:layout_marginBottom="2dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="5dp"
|
|
|
+ android:lineSpacingExtra="3.5sp"
|
|
|
+ android:text="@string/special_code"
|
|
|
+ android:textColor="#999999"
|
|
|
+ android:textSize="12sp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/C000000"
|
|
|
+ android:lineSpacingExtra="4sp"
|
|
|
+ android:paddingLeft="5dp"
|
|
|
+ android:paddingTop="2dp"
|
|
|
+ android:paddingRight="5dp"
|
|
|
+ android:paddingBottom="2dp"
|
|
|
+ android:text="@string/life_plus"
|
|
|
+ android:textColor="@color/CFFFFFF"
|
|
|
+ android:textSize="9sp"
|
|
|
+ android:visibility="gone"
|
|
|
+ tools:visibility="visible"
|
|
|
+ />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:hint="@string/special_code_characters"
|
|
|
- android:lineSpacingExtra="6sp"
|
|
|
- android:textColorHint="@color/CC5C5C5"
|
|
|
- android:textSize="14sp"
|
|
|
- />
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="7dp"
|
|
|
- android:layout_height="1dp"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:layout_marginStart="6dp"
|
|
|
- android:layout_marginEnd="6dp"
|
|
|
- android:background="@color/C666666"
|
|
|
- />
|
|
|
-
|
|
|
- <EditText
|
|
|
- android:layout_width="92dp"
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:layout_width="92dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="@string/special_code_characters"
|
|
|
+ android:lineSpacingExtra="6sp"
|
|
|
+ android:textColorHint="@color/CC5C5C5"
|
|
|
+ android:textSize="14sp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="7dp"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginStart="6dp"
|
|
|
+ android:layout_marginEnd="6dp"
|
|
|
+ android:background="@color/C666666"
|
|
|
+ />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:layout_width="92dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="@string/special_code_characters"
|
|
|
+ android:lineSpacingExtra="6sp"
|
|
|
+ android:textColorHint="@color/CC5C5C5"
|
|
|
+ android:textSize="14sp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="7dp"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:layout_marginStart="6dp"
|
|
|
+ android:layout_marginEnd="6dp"
|
|
|
+ android:background="@color/C666666"
|
|
|
+ />
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:layout_width="92dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="@string/special_code_characters"
|
|
|
+ android:lineSpacingExtra="6sp"
|
|
|
+ android:textColorHint="@color/CC5C5C5"
|
|
|
+ android:textSize="14sp"
|
|
|
+ />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:hint="@string/special_code_characters"
|
|
|
- android:lineSpacingExtra="6sp"
|
|
|
- android:textColorHint="@color/CC5C5C5"
|
|
|
- android:textSize="14sp"
|
|
|
- />
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:lineSpacingExtra="3.5sp"
|
|
|
+ android:text="@string/special_code_input"
|
|
|
+ android:textColor="@color/C666666"
|
|
|
+ android:textSize="10.5sp"
|
|
|
+ />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="25dp"
|
|
|
- android:orientation="vertical">
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:lineSpacingExtra="3.5sp"
|
|
|
- android:text="@string/special_code_input"
|
|
|
- android:textColor="@color/C666666"
|
|
|
- android:textSize="10.5sp"
|
|
|
- />
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="25dp"
|
|
|
- android:layout_marginTop="23dp"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:layout_marginTop="23dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:lineSpacingExtra="3.5sp"
|
|
|
+ android:text="@string/recommend_code"
|
|
|
+ android:textColor="@color/C999999"
|
|
|
+ android:textSize="12sp"
|
|
|
+ />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:lineSpacingExtra="3.5sp"
|
|
|
- android:textColor="@color/C999999"
|
|
|
- android:textSize="12sp"
|
|
|
- android:text="@string/recommend_code"
|
|
|
- />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="25dp"
|
|
|
- android:layout_marginTop="17dp"
|
|
|
- android:layout_marginEnd="25dp">
|
|
|
-
|
|
|
- <EditText
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:layout_marginTop="17dp"
|
|
|
+ android:layout_marginEnd="25dp">
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:hint="@string/recommend_code_input_characters"
|
|
|
+ android:lineSpacingExtra="6sp"
|
|
|
+ android:textColorHint="@color/CC5C5C5"
|
|
|
+ android:textSize="14sp"
|
|
|
+ />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:hint="@string/special_code_characters"
|
|
|
- android:lineSpacingExtra="6sp"
|
|
|
- android:textColorHint="@color/CC5C5C5"
|
|
|
- android:textSize="14sp"
|
|
|
- />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="25dp"
|
|
|
- android:layout_marginBottom="35dp"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <TextView
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:layout_marginBottom="35dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:lineSpacingExtra="3.5sp"
|
|
|
+ android:text="@string/recommend_code_input"
|
|
|
+ android:textColor="@color/C666666"
|
|
|
+ android:textSize="10.5sp"
|
|
|
+ />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <Space
|
|
|
android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:lineSpacingExtra="3.5sp"
|
|
|
- android:text="@string/special_code_input"
|
|
|
- android:textColor="@color/C666666"
|
|
|
- android:textSize="10.5sp"
|
|
|
- />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="25dp"
|
|
|
- android:layout_marginEnd="25dp"
|
|
|
- android:layout_marginBottom="25dp"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1"/>
|
|
|
|
|
|
- <Button
|
|
|
- android:background="@color/CC5C5C5"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="42dp"
|
|
|
- android:textSize="15sp"
|
|
|
- android:textColor="#ffffff"
|
|
|
- android:lineSpacingExtra="5.5sp"
|
|
|
- android:text="@string/registration"
|
|
|
- />
|
|
|
-
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:layout_marginEnd="25dp"
|
|
|
+ android:layout_marginBottom="25dp"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="42dp"
|
|
|
+ android:background="@drawable/button_black_background"
|
|
|
+ android:lineSpacingExtra="5.5sp"
|
|
|
+ android:text="@string/registration"
|
|
|
+ android:textColor="#ffffff"
|
|
|
+ android:textSize="15sp"
|
|
|
+ />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
</LinearLayout>
|
|
|
-</LinearLayout>
|
|
|
</ScrollView>
|