summaryrefslogtreecommitdiffstats
path: root/res/drawable
diff options
context:
space:
mode:
authorMario Bertschler <bmario@google.com>2017-01-17 15:04:37 -0800
committerMario Bertschler <bmario@google.com>2017-01-17 15:04:37 -0800
commit8e98cb876f1c913c256ce6d542a1f975f59f1e2e (patch)
tree3f63ae4172ad2de70a636e28a3f45c5096558b4d /res/drawable
parenta3db1fc674ed9a09cf1fae880506673cb7d8f83f (diff)
downloadandroid_packages_apps_Trebuchet-8e98cb876f1c913c256ce6d542a1f975f59f1e2e.tar.gz
android_packages_apps_Trebuchet-8e98cb876f1c913c256ce6d542a1f975f59f1e2e.tar.bz2
android_packages_apps_Trebuchet-8e98cb876f1c913c256ce6d542a1f975f59f1e2e.zip
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
Diffstat (limited to 'res/drawable')
-rw-r--r--res/drawable/all_apps_search_hint.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/drawable/all_apps_search_hint.xml b/res/drawable/all_apps_search_hint.xml
index b2ff7a428..36a0f0373 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.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:color="@android:color/transparent" android:state_focused="true" />
+ <item android:color="#00FFFFFF" android:state_focused="true" />
<item android:color="?android:attr/colorAccent"/>
</selector> \ No newline at end of file