Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.01 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout android:layout_width="match_parent"
  3.    android:layout_height="match_parent"
  4.    xmlns:android="http://schemas.android.com/apk/res/android"
  5.    xmlns:app="http://schemas.android.com/apk/res-auto">
  6.  
  7.     <androidx.constraintlayout.widget.ConstraintLayout
  8.        android:layout_width="match_parent"
  9.        android:layout_height="match_parent"
  10.        android:background="@drawable/back_reg_obrezana">
  11.  
  12.         <ImageView
  13.            android:id="@+id/window"
  14.            android:layout_width="wrap_content"
  15.            android:layout_height="0dp"
  16.            android:scaleType="fitCenter"
  17.            android:background="@drawable/window"
  18.             />
  19.  
  20.         <ImageButton
  21.            android:id="@+id/reg"
  22.            android:layout_width="0dp"
  23.            android:layout_height="wrap_content"
  24.            android:background="@drawable/ribbon"
  25.             />
  26.  
  27.         <TextView
  28.            android:id="@+id/regName"
  29.            android:layout_width="wrap_content"
  30.            android:layout_height="wrap_content"
  31.            android:fontFamily="@font/chalkduster"
  32.            android:elevation="3dp"
  33.            android:text="@string/registration"
  34.            android:textColor="#FF9800"
  35.             />
  36.  
  37.         <EditText
  38.            android:id="@+id/login"
  39.            android:layout_width="wrap_content"
  40.            android:layout_height="wrap_content"
  41.            android:background="@drawable/input_view"
  42.            android:ellipsize="end"
  43.            android:fontFamily="@font/chalkduster"
  44.            android:inputType="textCapSentences"
  45.            android:hint="@string/login_login_frame"
  46.            android:textColorHint="#E9E0E0"
  47.            android:textSize="50sp"
  48.            />
  49.  
  50.         <EditText
  51.            android:id="@+id/pas1"
  52.            android:layout_width="wrap_content"
  53.            android:layout_height="wrap_content"
  54.            android:background="@drawable/input_view"
  55.            android:ellipsize="end"
  56.            android:fontFamily="@font/chalkduster"
  57.            android:inputType="text"
  58.            android:gravity="bottom"
  59.            android:hint="@string/password"
  60.            android:textColorHint="#E9E0E0"
  61.            android:textSize="50sp"
  62.             />
  63.  
  64.         <EditText
  65.            android:id="@+id/pas2"
  66.            android:layout_width="wrap_content"
  67.            android:layout_height="wrap_content"
  68.            android:background="@drawable/input_view"
  69.            android:inputType="text"
  70.            android:ellipsize="end"
  71.            android:fontFamily="@font/chalkduster"
  72.            android:gravity="bottom"
  73.            android:hint="@string/password"
  74.            android:textColorHint="#E9E0E0"
  75.            android:textSize="50sp"
  76.             />
  77.  
  78.         <ImageButton
  79.            android:id="@+id/confirmButton"
  80.            android:layout_width="100dp"
  81.            android:layout_height="50dp"
  82.            android:background="@drawable/button_create"
  83.             />
  84.  
  85.         <ImageButton
  86.            android:id="@+id/hasAccButton"
  87.            android:layout_width="50dp"
  88.            android:layout_height="50dp"
  89.            android:layout_marginTop="15dp"
  90.            android:layout_marginEnd="15dp"
  91.            android:background="@drawable/button_right"
  92.            app:layout_constraintRight_toRightOf="parent"
  93.            app:layout_constraintTop_toTopOf="parent" />
  94.  
  95.         <TextView
  96.            android:id="@+id/textView"
  97.            android:layout_width="75sp"
  98.            android:layout_height="wrap_content"
  99.            android:breakStrategy="simple"
  100.            android:fontFamily="@font/chalkduster"
  101.            android:gravity="center"
  102.            android:text="@string/has_account"
  103.            android:textColor="#7C331A"
  104.            android:textStyle="bold"
  105.            app:layout_constraintRight_toLeftOf="@id/hasAccButton"
  106.            app:layout_constraintTop_toTopOf="@id/hasAccButton" />
  107.  
  108.     </androidx.constraintlayout.widget.ConstraintLayout>
  109. </FrameLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement