123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- <?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"
- xmlns:tool="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <ImageView
- android:background="@mipmap/default_bg"
- android:layout_width="match_parent"
- android:layout_height="match_parent"/>
- <ImageView
- android:id="@+id/ivLogo"
- android:layout_marginTop="133dp"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- android:src="@mipmap/default_logo"
- android:layout_width="200dp"
- android:layout_height="200dp"/>
- <com.swago.baseswago.cusview.MediumTextView
- android:id="@+id/tvAccountLogin"
- android:text="@string/acccount_login"
- android:layout_width="wrap_content"
- android:layout_marginBottom="20dp"
- android:textSize="16dp"
- android:textColor="#ffffff"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintBottom_toTopOf="@+id/tvAgreement"
- android:layout_height="wrap_content"/>
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/clFaceBook"
- android:layout_marginBottom="202dp"
- android:layout_marginStart="40dp"
- android:layout_marginEnd="40dp"
- android:visibility="visible"
- android:background="@drawable/shape_ff56b7_37"
- app:layout_constraintBottom_toBottomOf="parent"
- android:layout_width="match_parent"
- android:layout_height="56dp">
- <ImageView
- android:src="@mipmap/facebook"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- android:layout_marginStart="30dp"
- android:layout_width="24dp"
- android:layout_height="24dp"/>
- <com.swago.baseswago.cusview.MediumTextView
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- android:text="Facebook"
- android:textColor="#fff"
- android:textSize="16dp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- </androidx.constraintlayout.widget.ConstraintLayout>
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/clGoogle"
- android:layout_marginBottom="128dp"
- android:layout_marginStart="40dp"
- android:layout_marginEnd="40dp"
- android:background="@drawable/shape_ff9f00_37"
- app:layout_constraintBottom_toBottomOf="parent"
- android:layout_width="match_parent"
- android:layout_height="56dp">
- <ImageView
- android:src="@mipmap/google"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- android:layout_marginStart="30dp"
- android:padding="2dp"
- android:layout_width="24dp"
- android:layout_height="24dp"/>
- <com.swago.baseswago.cusview.MediumTextView
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintTop_toTopOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- android:text="Google"
- android:textColor="#fff"
- android:textSize="16dp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- </androidx.constraintlayout.widget.ConstraintLayout>
- <EditText
- android:id="@+id/etAccount"
- android:layout_marginBottom="168dp"
- android:layout_marginStart="50dp"
- android:layout_marginEnd="50dp"
- android:hint="@string/input_account"
- android:gravity="center"
- android:textColor="#000"
- android:textSize="16dp"
- android:visibility="gone"
- android:background="@drawable/shape_f1f4f8_29"
- app:layout_constraintBottom_toTopOf="@+id/tvAccountLogin"
- android:layout_width="match_parent"
- android:layout_height="54dp"/>
- <EditText
- android:id="@+id/etSecret"
- android:hint="@string/input_secret"
- android:gravity="center"
- android:textColor="#000"
- android:textSize="18dp"
- android:visibility="gone"
- android:inputType="textPassword"
- android:layout_marginBottom="96dp"
- android:layout_marginStart="50dp"
- android:layout_marginEnd="50dp"
- android:background="@drawable/shape_f1f4f8_29"
- app:layout_constraintBottom_toTopOf="@+id/tvAccountLogin"
- android:layout_width="match_parent"
- android:layout_height="54dp"/>
- <ImageView
- android:id="@+id/ivAccountLogin"
- android:layout_marginBottom="22dp"
- android:padding="13dp"
- android:visibility="gone"
- android:background="@drawable/shape_ffbb56_ff7f8f_ff56b7"
- android:src="@mipmap/icon_account_login"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintBottom_toTopOf="@+id/tvAccountLogin"
- android:layout_width="54dp"
- android:layout_height="54dp"/>
- <com.swago.baseswago.cusview.MediumTextView
- android:id="@+id/tvAgreement"
- android:textSize="12dp"
- android:textColor="#FF9300"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/and"
- app:layout_constraintBottom_toBottomOf="parent"
- android:layout_marginBottom="47dp"
- app:layout_constraintHorizontal_chainStyle="packed"
- android:text="@string/user_agreement"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- <com.swago.baseswago.cusview.MediumTextView
- android:id="@+id/and"
- android:text="@string/and"
- android:textSize="12dp"
- android:textColor="#CDCDCD"
- android:layout_marginStart="10dp"
- android:layout_marginEnd="10dp"
- app:layout_constraintStart_toEndOf="@+id/tvAgreement"
- app:layout_constraintEnd_toStartOf="@+id/tvPrivacy"
- app:layout_constraintBottom_toBottomOf="parent"
- android:layout_marginBottom="47dp"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- <com.swago.baseswago.cusview.MediumTextView
- android:id="@+id/tvPrivacy"
- android:textSize="12dp"
- android:textColor="#FF9300"
- app:layout_constraintStart_toEndOf="@+id/and"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintBottom_toBottomOf="parent"
- android:layout_marginBottom="47dp"
- android:text="@string/privacy_policy"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- <com.swago.baseswago.cusview.MediumTextView
- android:textSize="12dp"
- android:textColor="#CDCDCD"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- android:layout_marginBottom="20dp"
- android:gravity="center"
- android:text="@string/explain"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"/>
- </androidx.constraintlayout.widget.ConstraintLayout>
|