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
This commit is contained in:
parent
a3db1fc674
commit
8e98cb876f
|
@ -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>
|
Loading…
Reference in New Issue