From e4f2c589337f8ea9ccf92a77037f3c1e7caf356f Mon Sep 17 00:00:00 2001
From: krlvm <51774833+krlvm@users.noreply.github.com>
Date: Sun, 28 Mar 2021 12:24:29 +0300
Subject: [PATCH] Set Search text cursor using accent color instead of drawable
---
app/src/main/res/drawable/white_edit_text_cursor.xml | 5 -----
app/src/main/res/layout/toolbar_search_layout.xml | 1 +
app/src/main/res/values/styles.xml | 5 ++++-
3 files changed, 5 insertions(+), 6 deletions(-)
delete mode 100644 app/src/main/res/drawable/white_edit_text_cursor.xml
diff --git a/app/src/main/res/drawable/white_edit_text_cursor.xml b/app/src/main/res/drawable/white_edit_text_cursor.xml
deleted file mode 100644
index 1da8092d4..000000000
--- a/app/src/main/res/drawable/white_edit_text_cursor.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/layout/toolbar_search_layout.xml b/app/src/main/res/layout/toolbar_search_layout.xml
index 81783f0a0..9ec4dbc25 100644
--- a/app/src/main/res/layout/toolbar_search_layout.xml
+++ b/app/src/main/res/layout/toolbar_search_layout.xml
@@ -22,6 +22,7 @@
android:inputType="textFilter|textNoSuggestions"
android:maxLines="1"
android:nextFocusDown="@+id/suggestions_list"
+ android:theme="@style/WhiteAccentTheme"
tools:ignore="RtlHardcoded" />
@style/ThemeOverlay.AppCompat.DayNight.ActionBar
- @color/white
- @color/white
- - @drawable/white_edit_text_cursor
+
+
+