maus_34

Untitled

Aug 24th, 2020
606
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.16 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    android:theme="@style/OppositeWhiteScreen"
  8.    >
  9.  
  10.     <LinearLayout
  11.        android:id="@+id/linearLayout"
  12.        android:layout_width="wrap_content"
  13.        android:layout_height="wrap_content"
  14.        android:layout_marginTop="130dp"
  15.        android:orientation="vertical"
  16.        android:gravity="center"
  17.        app:layout_constraintEnd_toEndOf="parent"
  18.        app:layout_constraintStart_toStartOf="parent"
  19.        app:layout_constraintTop_toTopOf="parent">
  20.  
  21.         <TextView
  22.            android:layout_width="wrap_content"
  23.            android:layout_height="wrap_content"
  24.            android:layout_gravity="center"
  25.            android:fontFamily="@font/montserrat_semibold"
  26.            android:text="Регистрация"
  27.            android:textColor="#000"
  28.            android:textSize="40dp"
  29.            tools:layout_editor_absoluteX="125dp"
  30.            tools:layout_editor_absoluteY="134dp" />
  31.  
  32.         <EditText
  33.            android:id="@+id/et_name"
  34.            android:layout_width="250dp"
  35.            android:layout_height="wrap_content"
  36.            android:layout_marginTop="30dp"
  37.            android:hint="Атыңыз"
  38.            android:ems="10"
  39.            android:fontFamily="@font/montserrat_light"
  40.            android:inputType="textPersonName" />
  41.  
  42.         <EditText
  43.            android:id="@+id/et_surname"
  44.            android:layout_width="250dp"
  45.            android:layout_height="wrap_content"
  46.            android:inputType="textPersonName"
  47.            android:hint="Фамилия"
  48.            android:ems="10"
  49.            android:layout_marginTop="15dp"
  50.            android:fontFamily="@font/montserrat_light"
  51.            />
  52.  
  53.         <EditText
  54.            android:id="@+id/et_reg_email"
  55.            android:layout_width="250dp"
  56.            android:layout_height="wrap_content"
  57.            android:hint="@string/login"
  58.            android:layout_marginTop="15dp"
  59.            android:fontFamily="@font/montserrat_light"
  60.            android:inputType="textEmailAddress"
  61.            android:ems="10"
  62.            />
  63.  
  64.         <EditText
  65.            android:id="@+id/et_reg_password"
  66.            android:layout_width="250dp"
  67.            android:layout_height="wrap_content"
  68.            android:hint="@string/password"
  69.            android:fontFamily="@font/montserrat_light"
  70.            android:layout_marginTop="15dp"
  71.            android:inputType="textPassword"
  72.            android:ems="10"
  73.            />
  74.  
  75.         <Button
  76.            android:id="@+id/button_register"
  77.            android:layout_width="150dp"
  78.            android:layout_height="50dp"
  79.            android:layout_gravity="center"
  80.            android:layout_marginTop="40dp"
  81.            android:background="@drawable/rounded_button"
  82.            android:fontFamily="@font/montserrat_medium"
  83.            android:text="Тіркелу"
  84.            android:textColor="#fff"
  85.            android:textSize="16dp"
  86.            android:theme="@style/ButtonStyle"
  87.            />
  88.  
  89.         <TextView
  90.            android:layout_width="wrap_content"
  91.            android:layout_height="wrap_content"
  92.            android:fontFamily="@font/montserrat_light"
  93.            android:text="@string/hasAccount"
  94.            android:layout_gravity="center"
  95.            android:layout_marginTop="50dp"
  96.            android:textColor="#000"
  97.            />
  98.  
  99.         <TextView
  100.            android:id="@+id/tv_reg_page_registration"
  101.            android:layout_width="wrap_content"
  102.            android:layout_height="wrap_content"
  103.            android:fontFamily="@font/montserrat_medium"
  104.            android:text="@string/signIn"
  105.            android:layout_gravity="center"
  106.            android:layout_marginTop="10dp"
  107.            android:textColor="#00DBEF"
  108.            />
  109.  
  110.  
  111.     </LinearLayout>
  112.  
  113.  
  114. </androidx.constraintlayout.widget.ConstraintLayout>
Add Comment
Please, Sign In to add comment