blob: 42bd197f41bd99c6cccee48662d7c1b5b132166a [file] [log] [blame]
Jean Chalardbe07e492012-05-08 16:35:53 +09001<?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 Kataokaa8c37bc2013-05-10 12:06:51 +090017 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 Chalardbe07e492012-05-08 16:35:53 +090021
Satoshi Kataokaa8c37bc2013-05-10 12:06:51 +090022 <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 Chalardbe07e492012-05-08 16:35:53 +090034
Satoshi Kataokaa8c37bc2013-05-10 12:06:51 +090035 <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 Chalardbe07e492012-05-08 16:35:53 +090050 android:layout_height="wrap_content"
Satoshi Kataokaa8c37bc2013-05-10 12:06:51 +090051 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 Chalardbe07e492012-05-08 16:35:53 +090057 android:layout_gravity="fill_horizontal|center_vertical"
Jean Chalardbe07e492012-05-08 16:35:53 +090058 android:layout_marginBottom="8dip"
Satoshi Kataokaa8c37bc2013-05-10 12:06:51 +090059 android:layout_marginStart="8dip"
Jean Chalardbe07e492012-05-08 16:35:53 +090060 android:layout_marginTop="8dip"
Satoshi Kataokaa8c37bc2013-05-10 12:06:51 +090061 android:hint="@string/user_dict_settings_add_shortcut_hint"
62 android:imeOptions="flagNoFullscreen"
Jean Chalardbe07e492012-05-08 16:35:53 +090063 android:inputType="textNoSuggestions"
Satoshi Kataokaa8c37bc2013-05-10 12:06:51 +090064 android:maxLength="@integer/maximum_user_dictionary_word_length" />
Jean Chalardbe07e492012-05-08 16:35:53 +090065 </GridLayout>
Satoshi Kataokaa8c37bc2013-05-10 12:06:51 +090066
Jean Chalardbe07e492012-05-08 16:35:53 +090067</LinearLayout>