Added contentDescription to IME settings image button.
Bug: 5092506
Change-Id: Ibd27e4b0d798dd21df0e6eb69babc0df2292bf5f
diff --git a/res/layout/preference_inputmethod.xml b/res/layout/preference_inputmethod.xml
index 227b165..0edc060 100644
--- a/res/layout/preference_inputmethod.xml
+++ b/res/layout/preference_inputmethod.xml
@@ -78,6 +78,7 @@
android:paddingLeft="15dip"
android:paddingRight="?android:attr/scrollbarSize"
android:src="@drawable/ic_sysbar_quicksettings"
+ android:contentDescription="@string/input_method_settings_button"
android:layout_gravity="center"
android:clickable="true"
android:focusable="true"
diff --git a/res/values/strings.xml b/res/values/strings.xml
index d2d919e..05724ce 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -2585,6 +2585,8 @@
<string name="configure_input_method">Configure input methods</string>
<!-- Title for settings of each IME [CHAR LIMIT=25] -->
<string name="input_method_settings">Settings</string>
+ <!-- Spoken description for IME settings image button [CHAR LIMIT=NONE] -->
+ <string name="input_method_settings_button">Settings</string>
<!-- Title for settings of active input methods in each IME [CHAR LIMIT=35] -->
<string name="active_input_method_subtypes">Active input methods</string>
<!-- Title for settings whether or not the framework will select input methods in an IME based on the current system locale. [CHAR LIMIT=35] -->