alision | 5cfc35d | 2013-07-11 15:11:39 -0400 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | android:id="@+id/login_form" |
| 4 | android:layout_width="match_parent" |
| 5 | android:layout_height="match_parent" |
| 6 | android:background="@color/light" > |
| 7 | |
| 8 | <LinearLayout |
| 9 | style="@style/LoginFormContainer" |
| 10 | android:orientation="vertical" > |
| 11 | |
| 12 | <EditText |
| 13 | android:id="@+id/alias" |
| 14 | android:layout_width="match_parent" |
| 15 | android:layout_height="wrap_content" |
| 16 | android:hint="@string/prompt_alias" |
| 17 | android:inputType="textEmailAddress" |
| 18 | android:maxLines="1" |
| 19 | android:singleLine="true" > |
| 20 | |
| 21 | <requestFocus /> |
| 22 | </EditText> |
| 23 | |
| 24 | <EditText |
| 25 | android:id="@+id/hostname" |
| 26 | android:layout_width="match_parent" |
| 27 | android:layout_height="wrap_content" |
| 28 | android:hint="@string/prompt_hostname" |
| 29 | android:maxLines="1" |
| 30 | android:singleLine="true" > |
| 31 | </EditText> |
| 32 | |
| 33 | <EditText |
| 34 | android:id="@+id/username" |
| 35 | android:layout_width="match_parent" |
| 36 | android:layout_height="wrap_content" |
| 37 | android:hint="@string/prompt_username" |
| 38 | android:maxLines="1" |
| 39 | android:singleLine="true" /> |
| 40 | |
| 41 | <EditText |
| 42 | android:id="@+id/password" |
| 43 | android:layout_width="match_parent" |
| 44 | android:layout_height="wrap_content" |
| 45 | android:hint="@string/prompt_password" |
| 46 | android:imeActionId="@+id/login" |
| 47 | android:imeActionLabel="@string/action_create_short" |
| 48 | android:imeOptions="actionUnspecified" |
| 49 | android:inputType="textPassword" |
| 50 | android:maxLines="1" |
| 51 | android:singleLine="true" /> |
| 52 | |
| 53 | <Button |
| 54 | android:id="@+id/create_button" |
| 55 | android:layout_width="wrap_content" |
| 56 | android:layout_height="wrap_content" |
| 57 | android:layout_gravity="right" |
| 58 | android:layout_marginTop="16dp" |
| 59 | android:paddingLeft="32dp" |
| 60 | android:paddingRight="32dp" |
| 61 | android:text="@string/action_create" /> |
Alexandre Lision | f126dad | 2013-07-18 12:21:20 -0400 | [diff] [blame] | 62 | |
| 63 | <Button |
| 64 | android:id="@+id/dev_account" |
| 65 | android:layout_width="wrap_content" |
| 66 | android:layout_height="wrap_content" |
| 67 | android:text="Dev Account" /> |
| 68 | |
alision | 5cfc35d | 2013-07-11 15:11:39 -0400 | [diff] [blame] | 69 | </LinearLayout> |
| 70 | |
| 71 | </ScrollView> |