TheNameOfRose

loginlayout

Feb 20th, 2020
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.81 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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.    tools:context=".RegisterActivity">
  8.  
  9.     <include layout = "@layout/app_bar_layout" android:id="@+id/log_tool_bar"/>
  10.  
  11.  
  12.     <com.google.android.material.textfield.TextInputLayout
  13.        android:id="@+id/log_email"
  14.        android:layout_width="398dp"
  15.        android:layout_height="wrap_content"
  16.        android:layout_alignParentStart="true"
  17.        android:layout_alignParentTop="true"
  18.        android:layout_marginStart="13dp"
  19.        android:layout_marginTop="200dp"
  20.        >
  21.  
  22.         <com.google.android.material.textfield.TextInputEditText
  23.            android:layout_width="match_parent"
  24.            android:layout_height="match_parent"
  25.            android:hint="@string/e_mail"
  26.            android:inputType="textEmailAddress"/>
  27.     </com.google.android.material.textfield.TextInputLayout>
  28.  
  29.     <com.google.android.material.textfield.TextInputLayout
  30.        android:id="@+id/log_password"
  31.        android:layout_width="398dp"
  32.        android:layout_height="wrap_content"
  33.        android:layout_alignParentStart="true"
  34.        android:layout_alignParentTop="true"
  35.        android:layout_marginStart="13dp"
  36.        android:layout_marginTop="275dp"
  37.        android:layout_toEndOf="@id/log_email">
  38.  
  39.         <com.google.android.material.textfield.TextInputEditText
  40.            android:layout_width="match_parent"
  41.            android:layout_height="match_parent"
  42.            android:hint="@string/password"
  43.            android:inputType="textPassword"/>
  44.     </com.google.android.material.textfield.TextInputLayout>
  45.  
  46.     <Button
  47.        android:id="@+id/log_create_button"
  48.        android:layout_width="wrap_content"
  49.        android:layout_height="wrap_content"
  50.        android:layout_alignParentEnd="true"
  51.        android:layout_marginTop="370dp"
  52.        android:layout_marginEnd="13dp"
  53.        android:text="@string/login"
  54.        android:backgroundTint="@color/colorAccent"
  55.        android:paddingLeft="20dp"
  56.        android:paddingRight="20dp"
  57.        android:textColor="#ffffff"
  58.        android:textSize="24sp"
  59.        />
  60.  
  61.     <TextView
  62.        android:id="@+id/log_text_view"
  63.        android:layout_width="wrap_content"
  64.        android:layout_height="wrap_content"
  65.        android:layout_alignParentStart="true"
  66.        android:layout_alignParentTop="true"
  67.        android:layout_marginStart="15dp"
  68.        android:layout_marginTop="67dp"
  69.        android:text="@string/login_to_your_account"
  70.        android:textColor="@android:color/black"
  71.        android:textSize="24sp" />
  72.  
  73.  
  74. </RelativeLayout>
Add Comment
Please, Sign In to add comment