Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.86 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:background="@color/white"
  6.    android:id="@+id/layout"
  7.    android:layout_width="match_parent"
  8.    android:layout_height="match_parent"
  9.    tools:context="com.lovecoding.miit.Activitys.MainActivity">
  10.  
  11.     <LinearLayout
  12.        android:id="@+id/linear_layout"
  13.        android:layout_width="308dp"
  14.        android:orientation="vertical"
  15.        android:layout_centerHorizontal="true"
  16.        android:layout_centerVertical="true"
  17.        android:layout_height="match_parent"
  18.        android:fitsSystemWindows="true"
  19.        android:layout_alignParentBottom="true"
  20.        >
  21.  
  22.         <ImageView
  23.            android:id="@+id/imageView3"
  24.            android:layout_width="match_parent"
  25.            android:layout_height="100dp"
  26.            android:layout_marginTop="20dp"
  27.            app:srcCompat="@drawable/logo" />
  28.  
  29.         <TextView
  30.            android:id="@+id/str1"
  31.            android:layout_width="match_parent"
  32.            android:layout_height="wrap_content"
  33.            android:layout_marginTop="0dp"
  34.            android:text="@string/str1"
  35.            android:textAlignment="center"
  36.            android:textColor="@color/black"
  37.            android:textSize="23sp"
  38.            android:typeface="sans" />
  39.  
  40.  
  41.         <EditText
  42.            android:id="@+id/textfield1"
  43.            android:layout_width="match_parent"
  44.            android:layout_height="39.5dp"
  45.            android:layout_marginTop="16.6dp"
  46.            android:background="#e6e6e6"
  47.            android:ems="10"
  48.            android:drawableLeft="@drawable/ic_action_name"
  49.            android:inputType="textPersonName"
  50.            android:hint="@string/login"
  51.            android:textColor="@color/black"
  52.            android:textColorHint="@color/gray_text"
  53.            />
  54.  
  55.         <EditText
  56.            android:id="@+id/textfield2"
  57.            android:layout_width="match_parent"
  58.            android:layout_height="39.5dp"
  59.            android:layout_marginTop="16.6dp"
  60.            android:background="#e6e6e6"
  61.            android:drawableLeft="@drawable/pass"
  62.            android:ems="10"
  63.            android:inputType="textPassword"
  64.            android:hint="@string/password"
  65.            android:textColor="@color/black"
  66.            android:textColorHint="@color/gray_text" />
  67.  
  68.         <Button
  69.            android:id="@+id/bt1"
  70.            android:layout_width="match_parent"
  71.            android:layout_height="39.5dp"
  72.            android:layout_marginTop="16.6dp"
  73.            android:textColor="@color/white"
  74.            android:background="@color/blueButton"
  75.            android:text="@string/enter" />
  76.  
  77.         <TextView
  78.            android:layout_width="match_parent"
  79.            android:layout_height="wrap_content"
  80.            android:layout_marginTop="20dp"
  81.            android:text="@string/str2"
  82.            android:textAlignment="center"
  83.            android:textColor="@color/grayLink"
  84.            android:onClick="onTextClick"
  85.            android:typeface="sans" />
  86.  
  87.         <TextView
  88.            android:id="@+id/str4"
  89.            android:layout_width="match_parent"
  90.            android:layout_height="wrap_content"
  91.            android:textColor="@color/red"
  92.            android:textAlignment="center"
  93.            android:typeface="sans"
  94.            android:text="" />
  95.  
  96.         <TextView
  97.            android:id="@+id/str3"
  98.            android:layout_width="match_parent"
  99.            android:layout_height="wrap_content"
  100.  
  101.            android:text="@string/str3"
  102.            android:textAlignment="center"
  103.            android:textColor="@color/black"
  104.  
  105.            android:typeface="sans" />
  106.  
  107.  
  108.  
  109.  
  110.     </LinearLayout>
  111. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement