Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:background="@color/white"
- android:id="@+id/layout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context="com.lovecoding.miit.Activitys.MainActivity">
- <LinearLayout
- android:id="@+id/linear_layout"
- android:layout_width="308dp"
- android:orientation="vertical"
- android:layout_centerHorizontal="true"
- android:layout_centerVertical="true"
- android:layout_height="match_parent"
- android:fitsSystemWindows="true"
- android:layout_alignParentBottom="true"
- >
- <ImageView
- android:id="@+id/imageView3"
- android:layout_width="match_parent"
- android:layout_height="100dp"
- android:layout_marginTop="20dp"
- app:srcCompat="@drawable/logo" />
- <TextView
- android:id="@+id/str1"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="0dp"
- android:text="@string/str1"
- android:textAlignment="center"
- android:textColor="@color/black"
- android:textSize="23sp"
- android:typeface="sans" />
- <EditText
- android:id="@+id/textfield1"
- android:layout_width="match_parent"
- android:layout_height="39.5dp"
- android:layout_marginTop="16.6dp"
- android:background="#e6e6e6"
- android:ems="10"
- android:drawableLeft="@drawable/ic_action_name"
- android:inputType="textPersonName"
- android:hint="@string/login"
- android:textColor="@color/black"
- android:textColorHint="@color/gray_text"
- />
- <EditText
- android:id="@+id/textfield2"
- android:layout_width="match_parent"
- android:layout_height="39.5dp"
- android:layout_marginTop="16.6dp"
- android:background="#e6e6e6"
- android:drawableLeft="@drawable/pass"
- android:ems="10"
- android:inputType="textPassword"
- android:hint="@string/password"
- android:textColor="@color/black"
- android:textColorHint="@color/gray_text" />
- <Button
- android:id="@+id/bt1"
- android:layout_width="match_parent"
- android:layout_height="39.5dp"
- android:layout_marginTop="16.6dp"
- android:textColor="@color/white"
- android:background="@color/blueButton"
- android:text="@string/enter" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="20dp"
- android:text="@string/str2"
- android:textAlignment="center"
- android:textColor="@color/grayLink"
- android:onClick="onTextClick"
- android:typeface="sans" />
- <TextView
- android:id="@+id/str4"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textColor="@color/red"
- android:textAlignment="center"
- android:typeface="sans"
- android:text="" />
- <TextView
- android:id="@+id/str3"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/str3"
- android:textAlignment="center"
- android:textColor="@color/black"
- android:typeface="sans" />
- </LinearLayout>
- </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement