]>
Commit | Line | Data |
---|---|---|
1 | <?xml version="1.0" encoding="utf-8"?> | |
2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | android:layout_width="match_parent" | |
4 | android:layout_height="match_parent" | |
5 | android:orientation="vertical" > | |
6 | ||
7 | <EditText | |
8 | android:id="@+id/usernameEditText" | |
9 | android:layout_width="match_parent" | |
10 | android:layout_height="wrap_content" | |
11 | android:ems="10" | |
12 | android:hint="@string/username" /> | |
13 | ||
14 | <EditText | |
15 | android:id="@+id/passwordEditText" | |
16 | android:layout_width="match_parent" | |
17 | android:layout_height="wrap_content" | |
18 | android:ems="10" | |
19 | android:hint = "@string/password" | |
20 | android:inputType="textPassword" /> | |
21 | ||
22 | <Button | |
23 | android:id="@+id/button1" | |
24 | android:layout_width="wrap_content" | |
25 | android:layout_height="wrap_content" | |
26 | android:text="@string/log_in" /> | |
27 | ||
28 | </LinearLayout> |