|
1 <merge xmlns:android="http://schemas.android.com/apk/res/android" |
|
2 xmlns:tools="http://schemas.android.com/tools" |
|
3 tools:context=".AuthenticatorActivity" > |
|
4 |
|
5 <!-- Login progress --> |
|
6 |
|
7 <LinearLayout |
|
8 android:id="@+id/login_status" |
|
9 android:layout_width="wrap_content" |
|
10 android:layout_height="wrap_content" |
|
11 android:layout_gravity="center" |
|
12 android:gravity="center_horizontal" |
|
13 android:orientation="vertical" |
|
14 android:visibility="gone" > |
|
15 |
|
16 <ProgressBar |
|
17 style="?android:attr/progressBarStyleLarge" |
|
18 android:layout_width="wrap_content" |
|
19 android:layout_height="wrap_content" |
|
20 android:layout_marginBottom="8dp" /> |
|
21 |
|
22 <TextView |
|
23 android:id="@+id/login_status_message" |
|
24 android:layout_width="wrap_content" |
|
25 android:layout_height="wrap_content" |
|
26 android:layout_marginBottom="16dp" |
|
27 android:fontFamily="sans-serif-light" |
|
28 android:text="@string/login_progress_signing_in" |
|
29 android:textAppearance="?android:attr/textAppearanceMedium" /> |
|
30 </LinearLayout> |
|
31 |
|
32 <!-- Login form --> |
|
33 |
|
34 <ScrollView |
|
35 android:id="@+id/login_form" |
|
36 android:layout_width="match_parent" |
|
37 android:layout_height="match_parent" > |
|
38 |
|
39 <LinearLayout |
|
40 style="@style/LoginFormContainer" |
|
41 android:orientation="vertical" > |
|
42 |
|
43 <EditText |
|
44 android:id="@+id/user" |
|
45 android:layout_width="match_parent" |
|
46 android:layout_height="wrap_content" |
|
47 android:hint="@string/prompt_user" |
|
48 android:inputType="text" |
|
49 android:maxLines="1" |
|
50 android:singleLine="true" /> |
|
51 |
|
52 <EditText |
|
53 android:id="@+id/password" |
|
54 android:layout_width="match_parent" |
|
55 android:layout_height="wrap_content" |
|
56 android:hint="@string/prompt_password" |
|
57 android:imeActionId="@+id/login" |
|
58 android:imeActionLabel="@string/action_sign_in_short" |
|
59 android:imeOptions="actionUnspecified" |
|
60 android:inputType="textPassword" |
|
61 android:maxLines="1" |
|
62 android:singleLine="true" /> |
|
63 |
|
64 <EditText |
|
65 android:id="@+id/url" |
|
66 android:layout_width="match_parent" |
|
67 android:layout_height="wrap_content" |
|
68 android:ems="10" |
|
69 android:hint="@string/prompt_url" |
|
70 android:inputType="textUri" > |
|
71 |
|
72 <requestFocus /> |
|
73 </EditText> |
|
74 |
|
75 <EditText |
|
76 android:id="@+id/accountname" |
|
77 android:layout_width="match_parent" |
|
78 android:layout_height="wrap_content" |
|
79 android:hint="@string/prompt_accountname" |
|
80 android:inputType="text" |
|
81 android:maxLines="1" |
|
82 android:singleLine="true" /> |
|
83 |
|
84 <Button |
|
85 android:id="@+id/sign_in_button" |
|
86 android:layout_width="wrap_content" |
|
87 android:layout_height="wrap_content" |
|
88 android:layout_gravity="right" |
|
89 android:layout_marginTop="16dp" |
|
90 android:paddingLeft="32dp" |
|
91 android:paddingRight="32dp" |
|
92 android:text="@string/action_sign_in_register" /> |
|
93 |
|
94 <TextView |
|
95 android:id="@+id/sign_in_note_accountname" |
|
96 android:layout_width="wrap_content" |
|
97 android:layout_height="wrap_content" |
|
98 android:text="@string/action_sign_in_note_accountname" /> |
|
99 |
|
100 </LinearLayout> |
|
101 </ScrollView> |
|
102 |
|
103 </merge> |