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 | |
| 17 | <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:layout_width="fill_parent" |
| 19 | android:layout_height="wrap_content" |
| 20 | android:gravity="center_horizontal" |
| 21 | android:orientation="vertical"> |
| 22 | |
| 23 | <TextView |
| 24 | android:id="@+id/username_view" |
| 25 | android:layout_height="wrap_content" |
| 26 | android:layout_width="wrap_content" |
| 27 | android:textSize="18sp" |
| 28 | android:textColor="@color/username_text" |
| 29 | android:text="@string/username" |
| 30 | android:gravity="left" |
| 31 | android:layout_marginTop="12dip" |
| 32 | android:layout_marginLeft="20dip" |
| 33 | android:layout_marginRight="20dip" /> |
| 34 | |
| 35 | <EditText |
| 36 | android:id="@+id/username_edit" |
| 37 | android:textSize="18sp" |
| 38 | android:textColor="@color/username_edit" |
| 39 | android:scrollHorizontally="true" |
| 40 | android:inputType="text" |
| 41 | android:gravity="fill_horizontal" |
| 42 | android:layout_weight="1" |
| 43 | android:layout_marginLeft="20dip" |
| 44 | android:layout_marginRight="20dip" |
| 45 | android:layout_marginBottom="12dip" /> |
| 46 | |
| 47 | <TextView |
| 48 | android:id="@+id/password_view" |
| 49 | android:layout_height="wrap_content" |
| 50 | android:layout_width="wrap_content" |
| 51 | android:textSize="18sp" |
| 52 | android:textColor="@color/password_text" |
| 53 | android:text="@string/password" |
| 54 | android:gravity="left" |
| 55 | android:layout_marginLeft="20dip" |
| 56 | android:layout_marginRight="20dip" /> |
| 57 | |
| 58 | <EditText |
| 59 | android:id="@+id/password_edit" |
| 60 | android:textSize="18sp" |
| 61 | android:textColor="@color/password_edit" |
| 62 | android:scrollHorizontally="true" |
| 63 | android:inputType="textPassword" |
| 64 | android:gravity="fill_horizontal" |
| 65 | android:layout_weight="1" |
| 66 | android:layout_marginLeft="20dip" |
| 67 | android:layout_marginRight="20dip" |
| 68 | android:layout_marginBottom="12dip" /> |
| 69 | </TableLayout> |