123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".screen.RegisterAActivity">
- <ScrollView
- android:fillViewport="true"
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- >
- <android.support.constraint.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <android.support.constraint.Guideline
- android:id="@+id/guideLine_registerA_centerHorizontal"
- android:orientation="vertical"
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintGuide_percent="0.5"
- />
- <android.widget.Space
- android:id="@+id/anchor_registerA_thirdPtyBtn"
- android:layout_width="206dp"
- android:layout_height="wrap_content"
- app:layout_constraintLeft_toLeftOf="@+id/iv_registerA_kdanCloud"
- app:layout_constraintRight_toRightOf="@+id/iv_registerA_kdanCloud"
- />
- <ImageButton
- android:id="@+id/btn_registerA_close"
- android:background="?android:attr/selectableItemBackground"
- android:src="@drawable/ic_close_blue_24dp"
- android:contentDescription="@string/emptyImageContextDescription"
- android:layout_width="36dp"
- android:layout_height="36dp"
- android:layout_marginTop="16dp"
- android:layout_marginLeft="15dp"
- android:layout_marginStart="15dp"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- />
- <ImageView
- android:id="@+id/iv_registerA_kdanCloud"
- android:src="@drawable/kdancloud"
- android:scaleType="centerCrop"
- android:contentDescription="@string/emptyImageContextDescription"
- android:layout_width="117dp"
- android:layout_height="78dp"
- android:layout_marginRight="84dp"
- android:layout_marginEnd="84dp"
- app:layout_constraintRight_toRightOf="@id/guideLine_registerA_centerHorizontal"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toTopOf="@+id/tv_registerA_title"
- app:layout_constraintVertical_chainStyle="packed"
- />
- <TextView
- android:id="@+id/tv_registerA_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="center"
- android:text="@string/register_title"
- android:textColor="@color/register_title"
- android:textSize="16sp"
- android:textStyle="bold"
- android:layout_marginTop="4dp"
- app:layout_constraintLeft_toLeftOf="@id/anchor_registerA_thirdPtyBtn"
- app:layout_constraintRight_toRightOf="@id/anchor_registerA_thirdPtyBtn"
- app:layout_constraintTop_toBottomOf="@id/iv_registerA_kdanCloud"
- app:layout_constraintBottom_toTopOf="@+id/view_registerA_fbRegister"
- />
- <com.kdanmobile.kdanloginregisterui.widget.btn.FacebookRegisterBtn
- android:id="@+id/view_registerA_fbRegister"
- android:layout_width="0dp"
- android:layout_height="37dp"
- android:layout_marginTop="8dp"
- app:layout_constraintTop_toBottomOf="@id/tv_registerA_title"
- app:layout_constraintBottom_toTopOf="@+id/view_registerA_googleRegister"
- app:layout_constraintLeft_toLeftOf="@id/anchor_registerA_thirdPtyBtn"
- app:layout_constraintRight_toRightOf="@id/anchor_registerA_thirdPtyBtn"
- />
- <com.kdanmobile.kdanloginregisterui.widget.btn.GoogleRegisterBtn
- android:id="@+id/view_registerA_googleRegister"
- android:layout_width="0dp"
- android:layout_height="@dimen/login_register_btn_height"
- android:layout_marginTop="10dp"
- app:layout_constraintTop_toBottomOf="@id/view_registerA_fbRegister"
- app:layout_constraintLeft_toLeftOf="@id/anchor_registerA_thirdPtyBtn"
- app:layout_constraintRight_toRightOf="@id/anchor_registerA_thirdPtyBtn"
- app:layout_constraintBottom_toBottomOf="parent"
- />
- <com.kdanmobile.kdanloginregisterui.widget.EmailRegisterFormView
- android:id="@+id/emailRegisterFromView_registerA"
- android:layout_width="240dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="28dp"
- android:layout_marginStart="28dp"
- app:layout_constraintLeft_toLeftOf="@id/guideLine_registerA_centerHorizontal"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toTopOf="@id/tv_registerA_tosAndPp"
- app:layout_constraintVertical_chainStyle="packed"
- />
- <TextView
- android:id="@+id/tv_registerA_tosAndPp"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:textSize="@dimen/tos_and_pp_text_size"
- android:gravity="center"
- app:layout_constraintLeft_toLeftOf="@id/emailRegisterFromView_registerA"
- app:layout_constraintRight_toRightOf="@id/emailRegisterFromView_registerA"
- app:layout_constraintTop_toBottomOf="@id/emailRegisterFromView_registerA"
- app:layout_constraintBottom_toBottomOf="parent"
- tools:text="Terms of service & Privacy policy."
- />
- <android.support.constraint.Barrier
- android:id="@+id/barrier_registerALand_bottom"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:barrierDirection="bottom"
- app:constraint_referenced_ids="view_registerA_googleRegister, tv_registerA_tosAndPp"
- />
- <TextView
- android:id="@+id/tv_registerA_switchToLogin"
- android:layout_width="wrap_content"
- android:layout_height="19dp"
- android:layout_marginTop="16dp"
- android:layout_marginBottom="24dp"
- android:text="@string/switch_to_login"
- android:textColor="@color/switch_text"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintLeft_toLeftOf="parent"
- app:layout_constraintRight_toRightOf="parent"
- app:layout_constraintTop_toTopOf="@id/barrier_registerALand_bottom" />
- </android.support.constraint.ConstraintLayout>
- </ScrollView>
- </android.support.constraint.ConstraintLayout>
|