The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2008 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
John Reck | e8872c7 | 2011-02-28 17:52:53 -0800 | [diff] [blame] | 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Romain Guy | 15b8ec6 | 2010-01-08 15:06:43 -0800 | [diff] [blame] | 18 | android:layout_width="match_parent" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 19 | android:layout_height="wrap_content" |
Michael Kolb | d3e4d4f | 2010-10-15 10:58:44 -0700 | [diff] [blame] | 20 | android:orientation="vertical" |
| 21 | > |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 22 | |
| 23 | <TextView |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 24 | android:layout_height="wrap_content" |
| 25 | android:layout_width="wrap_content" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 26 | android:text="@string/username" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 27 | android:layout_marginTop="12dip" |
| 28 | android:layout_marginLeft="20dip" |
| 29 | android:layout_marginRight="20dip" /> |
| 30 | |
| 31 | <EditText |
| 32 | android:id="@+id/username_edit" |
John Reck | e8872c7 | 2011-02-28 17:52:53 -0800 | [diff] [blame] | 33 | android:layout_height="wrap_content" |
| 34 | android:layout_width="match_parent" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 35 | android:scrollHorizontally="true" |
| 36 | android:inputType="text" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 37 | android:layout_marginLeft="20dip" |
| 38 | android:layout_marginRight="20dip" |
John Reck | e8872c7 | 2011-02-28 17:52:53 -0800 | [diff] [blame] | 39 | android:layout_marginBottom="12dip" |
| 40 | android:singleLine="true" |
| 41 | android:imeOptions="actionNext" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 42 | |
| 43 | <TextView |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 44 | android:layout_height="wrap_content" |
| 45 | android:layout_width="wrap_content" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 46 | android:text="@string/password" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 47 | android:layout_marginLeft="20dip" |
| 48 | android:layout_marginRight="20dip" /> |
| 49 | |
| 50 | <EditText |
| 51 | android:id="@+id/password_edit" |
John Reck | e8872c7 | 2011-02-28 17:52:53 -0800 | [diff] [blame] | 52 | android:layout_height="wrap_content" |
| 53 | android:layout_width="match_parent" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 54 | android:scrollHorizontally="true" |
| 55 | android:inputType="textPassword" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 56 | android:layout_marginLeft="20dip" |
| 57 | android:layout_marginRight="20dip" |
John Reck | e8872c7 | 2011-02-28 17:52:53 -0800 | [diff] [blame] | 58 | android:layout_marginBottom="12dip" |
| 59 | android:singleLine="true" |
| 60 | android:imeOptions="actionDone" /> |
| 61 | </LinearLayout> |