]>
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 | <TextView | |
8 | android:id="@+id/textView1" | |
9 | android:layout_width="match_parent" | |
10 | android:layout_height="wrap_content" | |
11 | android:text="@string/login" | |
12 | android:textAlignment="center" | |
13 | android:textAppearance="?android:attr/textAppearanceLarge" /> | |
14 | ||
15 | <LinearLayout | |
16 | android:layout_width="match_parent" | |
17 | android:layout_height="wrap_content" | |
18 | android:layout_weight="0.00" > | |
19 | ||
20 | <TextView | |
21 | android:id="@+id/location" | |
22 | android:layout_width="wrap_content" | |
23 | android:layout_height="wrap_content" | |
24 | android:text="@string/userlabel" | |
25 | android:textAppearance="?android:attr/textAppearanceMedium" /> | |
26 | ||
27 | <EditText | |
28 | android:id="@+id/editText1" | |
29 | android:layout_width="wrap_content" | |
30 | android:layout_height="wrap_content" | |
31 | android:layout_weight="1" | |
32 | android:ems="10" /> | |
33 | </LinearLayout> | |
34 | ||
35 | <LinearLayout | |
36 | android:layout_width="match_parent" | |
37 | android:layout_height="wrap_content" > | |
38 | ||
39 | <TextView | |
40 | android:id="@+id/textView3" | |
41 | android:layout_width="wrap_content" | |
42 | android:layout_height="wrap_content" | |
43 | android:text="@string/passwordlabel" | |
44 | android:textAppearance="?android:attr/textAppearanceMedium" /> | |
45 | ||
46 | <EditText | |
47 | android:id="@+id/editText2" | |
48 | android:layout_width="wrap_content" | |
49 | android:layout_height="wrap_content" | |
50 | android:layout_weight="0.62" | |
51 | android:ems="10" | |
52 | android:inputType="textPassword" > | |
53 | ||
54 | <requestFocus /> | |
55 | </EditText> | |
56 | </LinearLayout> | |
57 | ||
58 | <Button | |
59 | android:id="@+id/button1" | |
60 | android:layout_width="wrap_content" | |
61 | android:layout_height="wrap_content" | |
62 | android:text="@string/login" /> | |
63 | ||
64 | </LinearLayout> |