Set Search text cursor using accent color instead of drawable
This commit is contained in:
parent
a9e8b3e06b
commit
e4f2c58933
|
@ -1,5 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
|
||||||
<size android:width="1dp" />
|
|
||||||
<solid android:color="#FFFFFF" />
|
|
||||||
</shape>
|
|
|
@ -22,6 +22,7 @@
|
||||||
android:inputType="textFilter|textNoSuggestions"
|
android:inputType="textFilter|textNoSuggestions"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:nextFocusDown="@+id/suggestions_list"
|
android:nextFocusDown="@+id/suggestions_list"
|
||||||
|
android:theme="@style/WhiteAccentTheme"
|
||||||
tools:ignore="RtlHardcoded" />
|
tools:ignore="RtlHardcoded" />
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
|
|
|
@ -185,7 +185,10 @@
|
||||||
<item name="popupTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
|
<item name="popupTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
|
||||||
<item name="tint">@color/white</item>
|
<item name="tint">@color/white</item>
|
||||||
<item name="iconTint">@color/white</item>
|
<item name="iconTint">@color/white</item>
|
||||||
<item name="android:textCursorDrawable">@drawable/white_edit_text_cursor</item>
|
</style>
|
||||||
|
|
||||||
|
<style name="WhiteAccentTheme">
|
||||||
|
<item name="colorAccent">@color/white</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="WhiteTintTheme">
|
<style name="WhiteTintTheme">
|
||||||
|
|
Loading…
Reference in New Issue