Examples of classic login interfaces:
<?xml version= "1.0" encoding= "Utf-8"?>
<linearlayout
Xmlns:android= "Http://schemas.android.com/apk/res/android"
android:orientation= "Vertical"
Android:layout_width= "Match_parent"
android:layout_height= "Match_parent"
android:gravity = "Center"
>
<linearlayout
Xmlns:android= "Http://schemas.android.com/apk/res/android"
android:orientation= "Horizontal"
Android:layout_width= "Match_parent"
android:layout_height= "Wrap_content"
android:gravity = "Center"
>
<textview xmlns:android= "Http://schemas.android.com/apk/res/android"
Android:textsize= "16SP"
android:text= "User:"
Android:layout_width= "80DP"
android:layout_height= "Wrap_content"/>
<edittext
Android:layout_width= "245DP"
android:layout_height= "wrap_content"
Android:imeactionid = "@+id/login"
android:inputtype= "Textpassword"
android:maxlines= "1"
Android:singleline= "true"
Android:layout_gravity= "Center_horizontal|bottom"/>
</linearlayout>
<linearlayout
xmlns: Android= "http://schemas.android.com/apk/res/android"
android:orientation= "Horizontal"
Android:layout_ Width= "Match_parent"
android:layout_height= "wrap_content"
android:gravity = "center"
;
< TextView xmlns:android= "http://schemas.android.com/apk/res/android"
android:textsize= "16sp"
android:text= "Password:"
android:layout_width= "80DP"
android:layout_height= "wrap_content"/>
<edittext
Android:id= "@+id/password"
Android:layout_width= "245DP"
android:layout_height= "Wrap_content"
Android:inputtype= "Textpassword"
Android:singleline= "true"
android:layout_gravity= "Center_horizontal|bottom"/>
</LinearLayout>
<space
Android:layout_width= "Match_parent"
android:layout_height= "20DP"
android:layout_gravity= "Center_horizontal"/>
<button android:text= "Login"
Android:layout_width= "120DP"
android:layout_height= "Wrap_content"/>
</LinearLayout>
Android Interface Control Screen Center layout example