The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2006 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 |
Fan Zhang | f57e167 | 2017-07-12 10:18:54 -0700 | [diff] [blame] | 7 | |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Fan Zhang | f57e167 | 2017-07-12 10:18:54 -0700 | [diff] [blame] | 9 | |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 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 | |
Fan Zhang | f57e167 | 2017-07-12 10:18:54 -0700 | [diff] [blame] | 17 | <LinearLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 19 | android:layout_width="wrap_content" |
| 20 | android:layout_height="wrap_content" |
Matthew Fritze | 6812581 | 2016-09-14 18:00:41 -0700 | [diff] [blame] | 21 | android:paddingStart="20dp" |
| 22 | android:paddingEnd="20dp" |
| 23 | android:paddingTop="16dp" |
Fan Zhang | f57e167 | 2017-07-12 10:18:54 -0700 | [diff] [blame] | 24 | android:paddingBottom="12dp"> |
Matthew Fritze | 6812581 | 2016-09-14 18:00:41 -0700 | [diff] [blame] | 25 | |
| 26 | <EditText |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 27 | android:id="@+id/edittext" |
Romain Guy | 3378715 | 2010-01-08 15:07:10 -0800 | [diff] [blame] | 28 | android:layout_width="match_parent" |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 29 | android:layout_height="wrap_content" |
Fan Zhang | f57e167 | 2017-07-12 10:18:54 -0700 | [diff] [blame] | 30 | android:inputType="textCapSentences" |
hughchen | 7879047 | 2019-07-17 14:34:00 +0800 | [diff] [blame] | 31 | android:minHeight="@dimen/min_tap_target_size" |
Eric Fischer | c27b12c | 2009-08-20 10:17:28 -0700 | [diff] [blame] | 32 | android:maxLength="50" |
Fan Zhang | f57e167 | 2017-07-12 10:18:54 -0700 | [diff] [blame] | 33 | android:singleLine="true" /> |
Eric Fischer | c27b12c | 2009-08-20 10:17:28 -0700 | [diff] [blame] | 34 | </LinearLayout> |