The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -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 | |
| 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:layout_width="fill_parent" |
| 19 | android:layout_height="wrap_content" |
| 20 | android:orientation="vertical"> |
| 21 | |
| 22 | <TextView |
| 23 | android:id="@+id/username_view" |
| 24 | android:layout_height="wrap_content" |
| 25 | android:layout_width="wrap_content" |
| 26 | android:layout_marginLeft="20dip" |
| 27 | android:layout_marginRight="20dip" |
| 28 | android:text="@string/alert_dialog_username" |
| 29 | android:gravity="left" |
| 30 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 31 | |
| 32 | <EditText |
| 33 | android:id="@+id/username_edit" |
| 34 | android:layout_height="wrap_content" |
| 35 | android:layout_width="fill_parent" |
| 36 | android:layout_marginLeft="20dip" |
| 37 | android:layout_marginRight="20dip" |
| 38 | android:scrollHorizontally="true" |
| 39 | android:autoText="false" |
| 40 | android:capitalize="none" |
| 41 | android:gravity="fill_horizontal" |
| 42 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 43 | |
| 44 | <TextView |
| 45 | android:id="@+id/password_view" |
| 46 | android:layout_height="wrap_content" |
| 47 | android:layout_width="wrap_content" |
| 48 | android:layout_marginLeft="20dip" |
| 49 | android:layout_marginRight="20dip" |
| 50 | android:text="@string/alert_dialog_password" |
| 51 | android:gravity="left" |
| 52 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 53 | |
| 54 | <EditText |
| 55 | android:id="@+id/password_edit" |
| 56 | android:layout_height="wrap_content" |
| 57 | android:layout_width="fill_parent" |
| 58 | android:layout_marginLeft="20dip" |
| 59 | android:layout_marginRight="20dip" |
| 60 | android:scrollHorizontally="true" |
| 61 | android:autoText="false" |
| 62 | android:capitalize="none" |
| 63 | android:gravity="fill_horizontal" |
| 64 | android:password="true" |
| 65 | android:textAppearance="?android:attr/textAppearanceMedium" /> |
| 66 | |
| 67 | </LinearLayout> |