|
@@ -30,8 +30,8 @@
|
|
|
android:layout_weight="1"
|
|
android:layout_weight="1"
|
|
|
android:text="@string/user_info_title"
|
|
android:text="@string/user_info_title"
|
|
|
android:textColor="@color/black"
|
|
android:textColor="@color/black"
|
|
|
- android:textStyle="bold"
|
|
|
|
|
- android:textSize="@dimen/normal_text_size_25" />
|
|
|
|
|
|
|
+ android:textSize="@dimen/normal_text_size_25"
|
|
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
android:id="@+id/back"
|
|
android:id="@+id/back"
|
|
@@ -55,145 +55,315 @@
|
|
|
android:layout_height="@dimen/divider_line_space"
|
|
android:layout_height="@dimen/divider_line_space"
|
|
|
android:background="@color/black" />
|
|
android:background="@color/black" />
|
|
|
|
|
|
|
|
- <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
|
|
+ <FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="@dimen/common_spacing_2x"
|
|
|
|
|
- android:gravity="center_vertical"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:paddingHorizontal="100dp">
|
|
|
|
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/username_tv"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:text="@string/user_name"
|
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
|
- android:textSize="@dimen/common_text_size"
|
|
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/show_user_info_layout"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/username"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginLeft="@dimen/common_spacing"
|
|
|
|
|
- android:background="@drawable/bg_common_input"
|
|
|
|
|
- android:enabled="false"
|
|
|
|
|
- android:maxLines="1"
|
|
|
|
|
- android:paddingHorizontal="@dimen/common_spacing"
|
|
|
|
|
- android:paddingVertical="2dp"
|
|
|
|
|
- android:singleLine="true"
|
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
|
- android:textSize="@dimen/common_text_size"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- app:layout_constraintStart_toEndOf="@+id/username_tv"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="@+id/username_tv" />
|
|
|
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_spacing_2x"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:paddingHorizontal="100dp">
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/nickname_tv"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="@dimen/common_spacing"
|
|
|
|
|
- android:text="@string/nickname"
|
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
|
- android:textSize="@dimen/common_text_size"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="@+id/username_tv"
|
|
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/username_tv" />
|
|
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/avatar"
|
|
|
|
|
+ android:layout_width="@dimen/avatar_size"
|
|
|
|
|
+ android:layout_height="@dimen/avatar_size"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_spacing"
|
|
|
|
|
+ android:background="@drawable/oval_shape"
|
|
|
|
|
+ android:clipToOutline="true"
|
|
|
|
|
+ android:scaleType="centerCrop"
|
|
|
|
|
+ android:src="@drawable/icon_avatar"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
- <EditText
|
|
|
|
|
- android:id="@+id/nickname_et"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginLeft="@dimen/common_spacing"
|
|
|
|
|
- android:background="@drawable/bg_common_input"
|
|
|
|
|
- android:hint="@string/please_input_nickname"
|
|
|
|
|
- android:maxLines="1"
|
|
|
|
|
- android:paddingHorizontal="@dimen/common_spacing"
|
|
|
|
|
- android:paddingVertical="2dp"
|
|
|
|
|
- android:singleLine="true"
|
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
|
- android:textSize="@dimen/common_text_size"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- app:layout_constraintStart_toEndOf="@+id/nickname_tv"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="@+id/nickname_tv" />
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/username_tv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/user_name"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/avatar" />
|
|
|
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/username"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/common_spacing"
|
|
|
|
|
+ android:background="@drawable/bg_common_input"
|
|
|
|
|
+ android:enabled="false"
|
|
|
|
|
+ android:maxLines="1"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing"
|
|
|
|
|
+ android:paddingVertical="2dp"
|
|
|
|
|
+ android:singleLine="true"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/username_tv"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/username_tv" />
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/phone_tv"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginTop="@dimen/common_spacing"
|
|
|
|
|
- android:text="@string/phone"
|
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
|
- android:textSize="@dimen/common_text_size"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="@+id/nickname_tv"
|
|
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/nickname_tv" />
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/nickname_tv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/nickname"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/username_tv"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/username_tv" />
|
|
|
|
|
|
|
|
- <EditText
|
|
|
|
|
- android:id="@+id/phone_et"
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginLeft="@dimen/common_spacing"
|
|
|
|
|
- android:background="@drawable/bg_common_input"
|
|
|
|
|
- android:hint="@string/please_input_phone"
|
|
|
|
|
- android:maxLines="1"
|
|
|
|
|
- android:paddingHorizontal="@dimen/common_spacing"
|
|
|
|
|
- android:paddingVertical="2dp"
|
|
|
|
|
- android:singleLine="true"
|
|
|
|
|
- android:textColor="@color/black"
|
|
|
|
|
- android:textSize="@dimen/common_text_size"
|
|
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
- app:layout_constraintStart_toEndOf="@+id/phone_tv"
|
|
|
|
|
- app:layout_constraintTop_toTopOf="@+id/phone_tv" />
|
|
|
|
|
|
|
+ <EditText
|
|
|
|
|
+ android:id="@+id/nickname_et"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/common_spacing"
|
|
|
|
|
+ android:background="@drawable/bg_common_input"
|
|
|
|
|
+ android:hint="@string/please_input_nickname"
|
|
|
|
|
+ android:maxLines="1"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing"
|
|
|
|
|
+ android:paddingVertical="2dp"
|
|
|
|
|
+ android:singleLine="true"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/nickname_tv"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/nickname_tv" />
|
|
|
|
|
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|
- <View
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="0dp"
|
|
|
|
|
- android:layout_weight="1" />
|
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/phone_tv"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/phone"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="@+id/nickname_tv"
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/nickname_tv" />
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
|
|
- android:layout_width="match_parent"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:orientation="horizontal"
|
|
|
|
|
- android:padding="@dimen/common_spacing">
|
|
|
|
|
|
|
+ <EditText
|
|
|
|
|
+ android:id="@+id/phone_et"
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/common_spacing"
|
|
|
|
|
+ android:background="@drawable/bg_common_input"
|
|
|
|
|
+ android:hint="@string/please_input_phone"
|
|
|
|
|
+ android:maxLines="1"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing"
|
|
|
|
|
+ android:paddingVertical="2dp"
|
|
|
|
|
+ android:singleLine="true"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/phone_tv"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/phone_tv" />
|
|
|
|
|
|
|
|
- <View
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
|
|
- android:layout_height="@dimen/divider_line_space"
|
|
|
|
|
- android:layout_weight="1" />
|
|
|
|
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/confirm"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginLeft="@dimen/common_spacing"
|
|
|
|
|
- android:background="@drawable/common_btn_confirm"
|
|
|
|
|
- android:drawableLeft="@mipmap/icon_confirm"
|
|
|
|
|
- android:drawablePadding="@dimen/common_spacing"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:minHeight="@dimen/common_btn_height"
|
|
|
|
|
- android:paddingHorizontal="@dimen/common_spacing_2x"
|
|
|
|
|
- android:text="@string/confirm"
|
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
|
- android:textSize="@dimen/common_btn_text_size" />
|
|
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ android:layout_weight="1" />
|
|
|
|
|
|
|
|
- <TextView
|
|
|
|
|
- android:id="@+id/cancel"
|
|
|
|
|
- android:layout_width="wrap_content"
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
|
|
- android:layout_marginLeft="@dimen/common_spacing"
|
|
|
|
|
- android:background="@drawable/common_btn_cancel"
|
|
|
|
|
- android:drawableLeft="@mipmap/icon_cancel"
|
|
|
|
|
- android:drawablePadding="@dimen/common_spacing"
|
|
|
|
|
- android:gravity="center"
|
|
|
|
|
- android:minHeight="@dimen/common_btn_height"
|
|
|
|
|
- android:paddingHorizontal="@dimen/common_spacing_2x"
|
|
|
|
|
- android:text="@string/cancel"
|
|
|
|
|
- android:textColor="@color/white"
|
|
|
|
|
- android:textSize="@dimen/common_btn_text_size" />
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:orientation="horizontal"
|
|
|
|
|
+ android:padding="@dimen/common_spacing">
|
|
|
|
|
+
|
|
|
|
|
+ <View
|
|
|
|
|
+ android:layout_width="0dp"
|
|
|
|
|
+ android:layout_height="@dimen/divider_line_space"
|
|
|
|
|
+ android:layout_weight="1" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/confirm"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/common_spacing"
|
|
|
|
|
+ android:background="@drawable/common_btn_confirm"
|
|
|
|
|
+ android:drawableLeft="@mipmap/icon_confirm"
|
|
|
|
|
+ android:drawablePadding="@dimen/common_spacing"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:minHeight="@dimen/common_btn_height"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing_2x"
|
|
|
|
|
+ android:text="@string/confirm"
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
|
+ android:textSize="@dimen/common_btn_text_size" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/cancel"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/common_spacing"
|
|
|
|
|
+ android:background="@drawable/common_btn_cancel"
|
|
|
|
|
+ android:drawableLeft="@mipmap/icon_cancel"
|
|
|
|
|
+ android:drawablePadding="@dimen/common_spacing"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:minHeight="@dimen/common_btn_height"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing_2x"
|
|
|
|
|
+ android:text="@string/cancel"
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
|
+ android:textSize="@dimen/common_btn_text_size" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/face_set_layout"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
|
+ android:visibility="gone">
|
|
|
|
|
+
|
|
|
|
|
+ <FrameLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ android:layout_marginHorizontal="@dimen/common_margin_spacing_big"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_margin_spacing_big"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:background="@drawable/common_card_bg">
|
|
|
|
|
+
|
|
|
|
|
+ <TextureView
|
|
|
|
|
+ android:id="@+id/preview"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:visibility="invisible" />
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:id="@+id/image"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ android:scaleType="centerCrop" />
|
|
|
|
|
+
|
|
|
|
|
+ </FrameLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="0dp"
|
|
|
|
|
+ android:layout_marginHorizontal="@dimen/common_margin_spacing_big"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_spacing_2x"
|
|
|
|
|
+ android:layout_weight="1"
|
|
|
|
|
+ android:background="@drawable/common_card_bg"
|
|
|
|
|
+ android:orientation="vertical"
|
|
|
|
|
+ android:padding="@dimen/common_spacing_small">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:gravity="center_vertical"
|
|
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
+
|
|
|
|
|
+ <ImageView
|
|
|
|
|
+ android:layout_width="@dimen/common_icon_size"
|
|
|
|
|
+ android:layout_height="@dimen/common_icon_size"
|
|
|
|
|
+ android:background="@mipmap/tip" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_marginLeft="@dimen/common_spacing_small"
|
|
|
|
|
+ android:text="@string/capture_tip_title"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size_small" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/CommonTextView"
|
|
|
|
|
+ android:layout_marginTop="@dimen/common_spacing"
|
|
|
|
|
+ android:gravity="left"
|
|
|
|
|
+ android:text="@string/capture_tip_content"
|
|
|
|
|
+ android:textColor="@color/black"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size_small" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tip_tv"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
|
|
+ android:background="@color/common_status_red"
|
|
|
|
|
+ android:gravity="center"
|
|
|
|
|
+ android:text="@string/only_one_person_allowed"
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
|
+ android:textSize="@dimen/common_text_size_big"
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ tools:text="请保证画面中只有自己" />
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing_2x">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/set_avatar_confirm"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="@drawable/common_btn_confirm"
|
|
|
|
|
+ android:drawableLeft="@mipmap/icon_confirm"
|
|
|
|
|
+ android:drawablePadding="@dimen/common_spacing"
|
|
|
|
|
+ android:drawableTint="@color/white"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing_2x"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/confirm"
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
|
+ android:textSize="@dimen/common_btn_text_size"
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/recapture"
|
|
|
|
|
+ app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/recapture"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="@drawable/common_btn_cancel"
|
|
|
|
|
+ android:backgroundTint="@color/dialogxColorBlue"
|
|
|
|
|
+ android:drawableLeft="@drawable/icon_camera"
|
|
|
|
|
+ android:drawablePadding="@dimen/common_spacing"
|
|
|
|
|
+ android:drawableTint="@color/white"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing_2x"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/recapture"
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
|
+ android:textSize="@dimen/common_btn_text_size"
|
|
|
|
|
+ android:visibility="gone"
|
|
|
|
|
+ app:layout_constraintEnd_toStartOf="@+id/set_avatar_cancel"
|
|
|
|
|
+ app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/set_avatar_confirm"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@id/set_avatar_confirm" />
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/set_avatar_cancel"
|
|
|
|
|
+ android:layout_width="wrap_content"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:background="@drawable/common_btn_cancel"
|
|
|
|
|
+ android:drawableLeft="@drawable/icon_close"
|
|
|
|
|
+ android:drawablePadding="@dimen/common_spacing"
|
|
|
|
|
+ android:drawableTint="@color/white"
|
|
|
|
|
+ android:paddingHorizontal="@dimen/common_spacing_2x"
|
|
|
|
|
+ android:paddingVertical="@dimen/common_spacing"
|
|
|
|
|
+ android:text="@string/cancel"
|
|
|
|
|
+ android:textColor="@color/white"
|
|
|
|
|
+ android:textSize="@dimen/common_btn_text_size"
|
|
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
+ app:layout_constraintHorizontal_bias="0.5"
|
|
|
|
|
+ app:layout_constraintStart_toEndOf="@+id/recapture"
|
|
|
|
|
+ app:layout_constraintTop_toTopOf="@id/recapture" />
|
|
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </FrameLayout>
|
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
|
</layout>
|
|
</layout>
|