Android studio design app login interface
UI interface design
When designing the login interface, you can use different layout methods to achieve this function, usually LinearLayout (linear layout) and TableLayout (table layout) are used, and linear layout is used in this article. The login interface requires several essential controls, as shown below:
- TextView: Used to display the title and prompts of "Username" and "Password";
Title setting
<TextView
android:layout_width="wrap_content"
android:layout_height="