1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-26 07:03:20 +00:00

Set Search text cursor using accent color instead of drawable

This commit is contained in:
krlvm 2021-03-28 12:24:29 +03:00
parent a9e8b3e06b
commit e4f2c58933
No known key found for this signature in database
GPG Key ID: B8552A91FD265536
3 changed files with 5 additions and 6 deletions

View File

@ -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>

View File

@ -22,6 +22,7 @@
android:inputType="textFilter|textNoSuggestions"
android:maxLines="1"
android:nextFocusDown="@+id/suggestions_list"
android:theme="@style/WhiteAccentTheme"
tools:ignore="RtlHardcoded" />
<FrameLayout

View File

@ -185,7 +185,10 @@
<item name="popupTheme">@style/ThemeOverlay.AppCompat.DayNight.ActionBar</item>
<item name="tint">@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 name="WhiteTintTheme">