From 69793049c3d02ea70b9653636e8b3d767d096c2c Mon Sep 17 00:00:00 2001
From: krlvm <51774833+krlvm@users.noreply.github.com>
Date: Sun, 28 Mar 2021 19:50:45 +0300
Subject: [PATCH] Fix subscription selector V overlay color, add ripples
---
app/src/main/res/layout/picker_subscription_item.xml | 5 +++--
app/src/main/res/values/styles.xml | 8 +++-----
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/app/src/main/res/layout/picker_subscription_item.xml b/app/src/main/res/layout/picker_subscription_item.xml
index 84c6a9130..6bc68cab8 100644
--- a/app/src/main/res/layout/picker_subscription_item.xml
+++ b/app/src/main/res/layout/picker_subscription_item.xml
@@ -5,7 +5,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="2dp"
- android:background="?attr/focused_selector"
+ android:background="?attr/selectableItemBackground"
android:clickable="true"
android:focusable="true">
@@ -42,7 +42,7 @@
android:id="@+id/selected_highlight"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="#9A000000"
+ android:background="?attr/colorControlHighlight"
android:visibility="gone"
tools:visibility="visible">
@@ -52,6 +52,7 @@
android:layout_gravity="top|center_horizontal"
android:layout_marginTop="4dp"
android:scaleType="centerInside"
+ android:tint="@color/white"
app:srcCompat="@drawable/ic_done"
tools:ignore="ContentDescription" />
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index ce56d5a30..cbbfcad48 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -13,7 +13,9 @@
-
+
@@ -40,8 +42,6 @@
- @color/light_card_item_contrast_color
- @color/light_border_color
- @drawable/dashed_border_light
-
- - @style/PreferenceThemeOverlay.v14.Material
@@ -67,8 +67,6 @@
- @color/dark_card_item_contrast_color
- @color/dark_border_color
- @drawable/dashed_border_dark
-
- - @style/PreferenceThemeOverlay.v14.Material