From 920280b4d15ab00bf9eb10c8991bbf0aee424305 Mon Sep 17 00:00:00 2001 From: Mihai Nita Date: Wed, 3 Feb 2016 21:33:37 -0800 Subject: [PATCH] Fixing language search box size and maximization The search box for the language was entering full screen in landscape mode, making the search results invisible. It was also "shifted" to the right, leaving a few characters from the title visible (ugly), and making the edit area smaller. This change fixes that behavior, and because we have more space we can also increase the character limit for the hint string. Bug: 26944452 Bug: 26944321 Bug: 26957818 Bug: 26732587 Change-Id: Ib5901bd7240ac57b6d39cb4392edccc8d941802d --- core/res/res/menu/language_selection_list.xml | 8 ++++---- core/res/res/values/strings.xml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/res/res/menu/language_selection_list.xml b/core/res/res/menu/language_selection_list.xml index 63b962740e75..377c4fab962a 100644 --- a/core/res/res/menu/language_selection_list.xml +++ b/core/res/res/menu/language_selection_list.xml @@ -14,12 +14,12 @@ limitations under the License. --> - + + android:icon="@*android:drawable/ic_search_api_material" + android:showAsAction="always|collapseActionView" + android:actionViewClass="android.widget.SearchView" /> diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index 523826bf79ec..1aa58b7d4169 100644 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -4168,7 +4168,7 @@ Language preference Region preference - + Type language name -- 2.11.0