|
@@ -1,74 +1,75 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
- xmlns:tools="http://schemas.android.com/tools">
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
- android:background="@drawable/shape_white_20"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
+ android:id="@+id/cl_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="40dp"
|
|
|
android:layout_marginEnd="40dp"
|
|
|
+ android:background="@drawable/shape_white_20"
|
|
|
android:paddingBottom="30dp"
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_invite_title"
|
|
|
- android:text="Set Room Password"
|
|
|
- android:textColor="#0F172A"
|
|
|
- android:textSize="18sp"
|
|
|
- android:textStyle="bold"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- android:layout_marginTop="30dp"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_invite_title"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
+ android:text="@string/setting_password"
|
|
|
+ android:textColor="#0F172A"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_hint"
|
|
|
- android:text="Please enter your password"
|
|
|
- android:textColor="#0F172A"
|
|
|
- android:textSize="14sp"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_invite_title"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_hint"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:text="@string/enter_password"
|
|
|
+ android:textColor="#0F172A"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_invite_title" />
|
|
|
|
|
|
- <com.swago.baseswago.cusview.CodeTextView
|
|
|
- android:id="@+id/activation_code"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="60dp"
|
|
|
- android:layout_marginStart="32dp"
|
|
|
- android:layout_marginEnd="32dp"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/tv_hint"/>
|
|
|
+ <com.swago.baseswago.cusview.CodeTextView
|
|
|
+ android:id="@+id/activation_code"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:layout_marginStart="32dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_marginEnd="32dp"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tv_hint" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_setting"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="50dp"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/activation_code"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- android:layout_marginEnd="20dp"
|
|
|
- android:textColor="#fff"
|
|
|
- android:textSize="@dimen/sp_16"
|
|
|
- android:text="Setting"
|
|
|
- android:gravity="center"
|
|
|
- android:layout_marginBottom="30dp"
|
|
|
- android:layout_marginStart="30dp"
|
|
|
- android:background="@drawable/shape_9b20fc_20"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_setting"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="44dp"
|
|
|
+ android:layout_marginStart="30dp"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:layout_marginBottom="30dp"
|
|
|
+ android:background="@drawable/shape_ff56b7_37"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@string/live_setting"
|
|
|
+ android:textColor="#fff"
|
|
|
+ android:textSize="@dimen/sp_16"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/activation_code" />
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
@@ -76,9 +77,19 @@
|
|
|
android:id="@+id/iv_bg"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="100dp"
|
|
|
- android:background="@mipmap/bg_invite"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
android:layout_marginStart="40dp"
|
|
|
- android:layout_marginEnd="40dp"/>
|
|
|
+ android:layout_marginEnd="40dp"
|
|
|
+ android:background="@mipmap/bg_invite"
|
|
|
+ app:layout_constraintTop_toTopOf="@+id/cl_content" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_close"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:src="@mipmap/ic_finish_password"
|
|
|
+ app:layout_constraintEnd_toEndOf="parent"
|
|
|
+ app:layout_constraintStart_toStartOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/cl_content" />
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|