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