diff options
author | Jean Chalard <jchalard@google.com> | 2013-04-19 21:46:14 +0900 |
---|---|---|
committer | Jean Chalard <jchalard@google.com> | 2013-04-19 22:05:53 +0900 |
commit | 0ac950542d86c6803b80d0fd73f0508a687d225b (patch) | |
tree | 2b3c48b33118233f2b11b10074f8bb750874aa3f /res/layout | |
parent | b5b541a5776b95a985512b3bf694cac2301d8f06 (diff) | |
download | packages_apps_Settings-0ac950542d86c6803b80d0fd73f0508a687d225b.zip packages_apps_Settings-0ac950542d86c6803b80d0fd73f0508a687d225b.tar.gz packages_apps_Settings-0ac950542d86c6803b80d0fd73f0508a687d225b.tar.bz2 |
Add hints to some text fields for RTL
Having a hint makes sure the cursor is positioned in the right
end of the text field by default for both LTR and RTL locales.
This fixes the user dictionary "add to dictionary" interface
parts, and the "connect to hidden network" interface.
Bug: 8654823
Change-Id: I7c83d35734e53da94bb949e362c5260934ef0b76
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/user_dictionary_add_word.xml | 1 | ||||
-rw-r--r-- | res/layout/user_dictionary_add_word_fullscreen.xml | 2 | ||||
-rw-r--r-- | res/layout/wifi_ap_dialog.xml | 1 | ||||
-rw-r--r-- | res/layout/wifi_config_ui_for_setup_wizard.xml | 1 | ||||
-rw-r--r-- | res/layout/wifi_dialog.xml | 1 |
5 files changed, 6 insertions, 0 deletions
diff --git a/res/layout/user_dictionary_add_word.xml b/res/layout/user_dictionary_add_word.xml index d8b8694..3624dad 100644 --- a/res/layout/user_dictionary_add_word.xml +++ b/res/layout/user_dictionary_add_word.xml @@ -45,6 +45,7 @@ android:layout_marginStart="8dip" android:layout_marginBottom="8dip" android:layout_marginTop="8dip" + android:hint="@string/user_dict_settings_add_word_hint" android:inputType="textNoSuggestions" android:imeOptions="flagNoFullscreen"> <requestFocus /> diff --git a/res/layout/user_dictionary_add_word_fullscreen.xml b/res/layout/user_dictionary_add_word_fullscreen.xml index f29c669..b72886f 100644 --- a/res/layout/user_dictionary_add_word_fullscreen.xml +++ b/res/layout/user_dictionary_add_word_fullscreen.xml @@ -33,6 +33,7 @@ android:layout_marginStart="8dip" android:layout_marginBottom="8dip" android:layout_marginTop="8dip" + android:hint="@string/user_dict_settings_add_word_hint" android:inputType="textNoSuggestions" android:imeOptions="flagNoFullscreen"> <requestFocus /> @@ -56,6 +57,7 @@ android:layout_marginStart="8dip" android:layout_marginBottom="8dip" android:layout_marginTop="8dip" + android:hint="@string/user_dict_settings_add_shortcut_hint" android:inputType="textNoSuggestions" android:imeOptions="flagNoFullscreen" /> <TextView android:id="@+id/user_dictionary_add_locale_label" diff --git a/res/layout/wifi_ap_dialog.xml b/res/layout/wifi_ap_dialog.xml index d458cd3..a2146c6 100644 --- a/res/layout/wifi_ap_dialog.xml +++ b/res/layout/wifi_ap_dialog.xml @@ -46,6 +46,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:singleLine="true" + android:hint="@string/wifi_ssid_hint" android:inputType="textNoSuggestions" android:maxLength="32" /> diff --git a/res/layout/wifi_config_ui_for_setup_wizard.xml b/res/layout/wifi_config_ui_for_setup_wizard.xml index fef10b3..143d9ee 100644 --- a/res/layout/wifi_config_ui_for_setup_wizard.xml +++ b/res/layout/wifi_config_ui_for_setup_wizard.xml @@ -86,6 +86,7 @@ android:layout_width="368dip" android:layout_height="wrap_content" android:singleLine="true" + android:hint="@string/wifi_ssid_hint" android:inputType="textNoSuggestions" android:textAppearance="?android:attr/textAppearanceMedium" android:textSize="20sp" /> diff --git a/res/layout/wifi_dialog.xml b/res/layout/wifi_dialog.xml index 7a7d0b0..cd968b1 100644 --- a/res/layout/wifi_dialog.xml +++ b/res/layout/wifi_dialog.xml @@ -40,6 +40,7 @@ <EditText android:id="@+id/ssid" style="@style/wifi_item_edit_content" + android:hint="@string/wifi_ssid_hint" android:maxLength="32" android:singleLine="true" android:inputType="textNoSuggestions" /> |