Jean Chalard | be07e49 | 2012-05-08 16:35:53 +0900 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2012 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 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Satoshi Kataoka | a8c37bc | 2013-05-10 12:06:51 +0900 | [diff] [blame] | 17 | android:id="@+id/user_dict_settings_add_dialog_top" |
| 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="wrap_content" |
| 20 | android:orientation="vertical" > |
Jean Chalard | be07e49 | 2012-05-08 16:35:53 +0900 | [diff] [blame] | 21 | |
Satoshi Kataoka | a8c37bc | 2013-05-10 12:06:51 +0900 | [diff] [blame] | 22 | <EditText |
| 23 | android:id="@+id/user_dictionary_add_word_text" |
| 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="wrap_content" |
| 26 | android:layout_gravity="fill_horizontal|center_vertical" |
| 27 | android:layout_marginBottom="8dip" |
| 28 | android:layout_marginStart="8dip" |
| 29 | android:layout_marginTop="8dip" |
| 30 | android:hint="@string/user_dict_settings_add_word_hint" |
| 31 | android:imeOptions="flagNoFullscreen" |
| 32 | android:inputType="textNoSuggestions" |
| 33 | android:maxLength="@integer/maximum_user_dictionary_word_length" > |
Jean Chalard | be07e49 | 2012-05-08 16:35:53 +0900 | [diff] [blame] | 34 | |
Satoshi Kataoka | a8c37bc | 2013-05-10 12:06:51 +0900 | [diff] [blame] | 35 | <requestFocus /> |
| 36 | </EditText> |
| 37 | |
| 38 | <GridLayout |
| 39 | android:id="@+id/user_dictionary_add_word_grid" |
| 40 | android:layout_width="match_parent" |
| 41 | android:layout_height="wrap_content" |
| 42 | android:layout_marginEnd="8dip" |
| 43 | android:layout_marginStart="8dip" |
| 44 | android:columnCount="2" > |
| 45 | |
| 46 | <TextView |
| 47 | android:id="@+id/user_dictionary_add_shortcut_label" |
| 48 | style="?android:attr/textAppearanceSmall" |
| 49 | android:layout_width="wrap_content" |
Jean Chalard | be07e49 | 2012-05-08 16:35:53 +0900 | [diff] [blame] | 50 | android:layout_height="wrap_content" |
Satoshi Kataoka | a8c37bc | 2013-05-10 12:06:51 +0900 | [diff] [blame] | 51 | android:layout_gravity="start|center_vertical" |
| 52 | android:text="@string/user_dict_settings_add_shortcut_option_name" /> |
| 53 | |
| 54 | <EditText |
| 55 | android:id="@+id/user_dictionary_add_shortcut" |
| 56 | android:layout_width="wrap_content" |
Jean Chalard | be07e49 | 2012-05-08 16:35:53 +0900 | [diff] [blame] | 57 | android:layout_gravity="fill_horizontal|center_vertical" |
Jean Chalard | be07e49 | 2012-05-08 16:35:53 +0900 | [diff] [blame] | 58 | android:layout_marginBottom="8dip" |
Satoshi Kataoka | a8c37bc | 2013-05-10 12:06:51 +0900 | [diff] [blame] | 59 | android:layout_marginStart="8dip" |
Jean Chalard | be07e49 | 2012-05-08 16:35:53 +0900 | [diff] [blame] | 60 | android:layout_marginTop="8dip" |
Satoshi Kataoka | a8c37bc | 2013-05-10 12:06:51 +0900 | [diff] [blame] | 61 | android:hint="@string/user_dict_settings_add_shortcut_hint" |
| 62 | android:imeOptions="flagNoFullscreen" |
Jean Chalard | be07e49 | 2012-05-08 16:35:53 +0900 | [diff] [blame] | 63 | android:inputType="textNoSuggestions" |
Satoshi Kataoka | a8c37bc | 2013-05-10 12:06:51 +0900 | [diff] [blame] | 64 | android:maxLength="@integer/maximum_user_dictionary_word_length" /> |
Jean Chalard | be07e49 | 2012-05-08 16:35:53 +0900 | [diff] [blame] | 65 | </GridLayout> |
Satoshi Kataoka | a8c37bc | 2013-05-10 12:06:51 +0900 | [diff] [blame] | 66 | |
Jean Chalard | be07e49 | 2012-05-08 16:35:53 +0900 | [diff] [blame] | 67 | </LinearLayout> |