|
|
|
|
@@ -0,0 +1,210 @@
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:id="@+id/clAuthorizeTopParent"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="#CC000000">
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:id="@+id/clLoadingAuthorizeContainer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginLeft="@dimen/dp_301"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_100"
|
|
|
|
|
android:layout_marginRight="@dimen/dp_301"
|
|
|
|
|
android:layout_marginBottom="@dimen/dp_100"
|
|
|
|
|
android:background="@drawable/module_authorize_selector_dark_corner"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:id="@+id/clAuthorizeLoading"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/ivAuthorizeLoading"
|
|
|
|
|
android:layout_width="@dimen/dp_147"
|
|
|
|
|
android:layout_height="@dimen/dp_147"
|
|
|
|
|
android:src="@mipmap/module_authorize_loading"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvAuthorizeLoading"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_44"
|
|
|
|
|
android:text="@string/module_authorize_agreement_loading"
|
|
|
|
|
android:textColor="#99FFFFFF"
|
|
|
|
|
android:textSize="@dimen/dp_44"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/ivAuthorizeLoading" />
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:id="@+id/clLoadingErrorContainer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginLeft="@dimen/dp_301"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_100"
|
|
|
|
|
android:layout_marginRight="@dimen/dp_301"
|
|
|
|
|
android:layout_marginBottom="@dimen/dp_100"
|
|
|
|
|
android:background="@drawable/module_authorize_selector_dark_corner"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btnAuthorizeLoadingError"
|
|
|
|
|
android:layout_width="@dimen/dp_461"
|
|
|
|
|
android:layout_height="@dimen/dp_97"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_33"
|
|
|
|
|
android:background="@drawable/module_authorize_selector_blue_corner"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/module_authorize_agreement_retry"
|
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
|
android:textSize="@dimen/dp_44"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvAuthorizeLoadingError" />
|
|
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/ivAuthorizeLoadingError"
|
|
|
|
|
android:layout_width="@dimen/dp_147"
|
|
|
|
|
android:layout_height="@dimen/dp_147"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_254"
|
|
|
|
|
android:src="@mipmap/module_authorize_loading_error"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvAuthorizeLoadingError"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_33"
|
|
|
|
|
android:text="@string/module_authorize_agreement_error"
|
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
|
android:textSize="@dimen/dp_44"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/ivAuthorizeLoadingError" />
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
|
|
android:id="@+id/clAuthorizeContainer"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginLeft="@dimen/dp_301"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_110"
|
|
|
|
|
android:layout_marginRight="@dimen/dp_301"
|
|
|
|
|
android:layout_marginBottom="@dimen/dp_110"
|
|
|
|
|
android:background="@drawable/module_authorize_selector_dark_corner"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btnAuthorizeAgree"
|
|
|
|
|
android:layout_width="0px"
|
|
|
|
|
android:layout_height="@dimen/dp_123"
|
|
|
|
|
android:background="@drawable/module_authorize_selector_blue_left_corner"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/module_authorize_agreement_agree"
|
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
|
android:textSize="@dimen/dp_40"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintHorizontal_weight="1"
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
app:layout_constraintRight_toLeftOf="@+id/btnAuthorizeDisAgree" />
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/btnAuthorizeDisAgree"
|
|
|
|
|
android:layout_width="0px"
|
|
|
|
|
android:layout_height="@dimen/dp_123"
|
|
|
|
|
android:background="@drawable/module_authorize_selector_dark_right_corner"
|
|
|
|
|
android:gravity="center"
|
|
|
|
|
android:text="@string/module_authorize_agreement_disagree"
|
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
|
android:textSize="@dimen/dp_40"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintHorizontal_weight="1"
|
|
|
|
|
app:layout_constraintLeft_toRightOf="@+id/btnAuthorizeAgree"
|
|
|
|
|
app:layout_constraintRight_toRightOf="parent" />
|
|
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
|
android:layout_width="0px"
|
|
|
|
|
android:layout_height="0px"
|
|
|
|
|
android:layout_marginBottom="@dimen/dp_139"
|
|
|
|
|
android:scrollbarSize="@dimen/dp_442"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_139"
|
|
|
|
|
android:scrollbarTrackHorizontal="@drawable/module_authorize_scrollbar"
|
|
|
|
|
android:scrollbarThumbVertical="@drawable/module_authorize_scrollbar"
|
|
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
|
|
app:layout_constraintTop_toBottomOf="@+id/tvAuthorizeTitle">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_marginLeft="@dimen/dp_55"
|
|
|
|
|
android:layout_marginRight="@dimen/dp_55"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvAuthorizeContent"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:lineSpacingExtra="@dimen/dp_15"
|
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
|
android:textSize="@dimen/dp_36" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvAuthorizeButtonContent"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
|
android:textSize="@dimen/dp_36" />
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvAuthorizeLastContent"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_15"
|
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
|
android:textSize="@dimen/dp_36" />
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/tvAuthorizeTitle"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_marginTop="@dimen/dp_62"
|
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
|
android:textSize="@dimen/dp_55"
|
|
|
|
|
android:textStyle="bold"
|
|
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|