From 8e98cb876f1c913c256ce6d542a1f975f59f1e2e Mon Sep 17 00:00:00 2001 From: Mario Bertschler Date: Tue, 17 Jan 2017 15:04:37 -0800 Subject: [PATCH] Fixes a bug where in Android O the all apps search icon appears on screen rotation. The fix is by applying a "different" transparent (transparent white instead of transparent black) for the hint color in focus state. The root problem lies in DynamicDrawableSpan and restoring state in EditText if hint color is #000000. Bug: b/34259116 Change-Id: Id3c46b2af4d5cdb18c0510504f2fe66dece7056f --- res/drawable/all_apps_search_hint.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/drawable/all_apps_search_hint.xml b/res/drawable/all_apps_search_hint.xml index b2ff7a428e..36a0f03738 100644 --- a/res/drawable/all_apps_search_hint.xml +++ b/res/drawable/all_apps_search_hint.xml @@ -15,6 +15,6 @@ limitations under the License. --> - + \ No newline at end of file