Romain Guy | 53389bd | 2010-09-07 17:16:32 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2010 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:orientation="vertical" |
| 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="match_parent"> |
| 21 | |
| 22 | <LinearLayout |
| 23 | android:orientation="horizontal" |
| 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="wrap_content"> |
| 26 | |
| 27 | <TextView |
| 28 | android:layout_width="wrap_content" |
| 29 | android:layout_height="wrap_content" |
| 30 | android:text="First name" /> |
| 31 | |
| 32 | <EditText |
| 33 | android:layout_width="0dip" |
| 34 | android:layout_weight="1.0" |
| 35 | android:layout_height="wrap_content" |
| 36 | android:layout_marginLeft="3dip" |
| 37 | android:hint="Enter your first name" /> |
| 38 | |
| 39 | </LinearLayout> |
| 40 | |
| 41 | <LinearLayout |
| 42 | android:orientation="horizontal" |
| 43 | android:layout_width="match_parent" |
| 44 | android:layout_height="wrap_content"> |
| 45 | |
| 46 | <TextView |
| 47 | android:layout_width="wrap_content" |
| 48 | android:layout_height="wrap_content" |
| 49 | android:text="Last name" /> |
| 50 | |
| 51 | <EditText |
| 52 | android:layout_width="0dip" |
| 53 | android:layout_weight="1.0" |
| 54 | android:layout_height="wrap_content" |
| 55 | android:layout_marginLeft="3dip" |
| 56 | android:hint="Enter your last name" /> |
| 57 | |
| 58 | </LinearLayout> |
| 59 | |
| 60 | <EditText |
| 61 | android:layout_width="match_parent" |
| 62 | android:layout_weight="1.0" |
| 63 | android:layout_height="0dip" |
| 64 | android:background="#ff7f0000" /> |
| 65 | |
| 66 | </LinearLayout> |