summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2022-04-22 22:11:12 +0200
committerGitHub <noreply@github.com>2022-04-22 22:11:12 +0200
commit8775031b20cbb10876b36541f346e0a0efdad1cb (patch)
tree62f741e967cad976c4cc6b0eec21a3c2d0734213 /core/src
parenta01c24984e90434924efb1199a1f39a99cb2f226 (diff)
downloadAntennaPod-8775031b20cbb10876b36541f346e0a0efdad1cb.zip
Podcast page re-design (#5842)
Makes the settings button more visible, following a mock-up on the forum
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/res/drawable/ic_filter_white.xml7
-rw-r--r--core/src/main/res/drawable/ic_rounded_corner_left.xml7
-rw-r--r--core/src/main/res/drawable/ic_rounded_corner_right.xml7
-rw-r--r--core/src/main/res/drawable/ic_sort.xml5
-rw-r--r--core/src/main/res/values/attrs.xml1
-rw-r--r--core/src/main/res/values/styles.xml3
6 files changed, 25 insertions, 5 deletions
diff --git a/core/src/main/res/drawable/ic_filter_white.xml b/core/src/main/res/drawable/ic_filter_white.xml
new file mode 100644
index 000000000..e60023497
--- /dev/null
+++ b/core/src/main/res/drawable/ic_filter_white.xml
@@ -0,0 +1,7 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:height="24dp"
+ android:width="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path android:fillColor="#ffffff" android:pathData="M15,19.88C15.04,20.18 14.94,20.5 14.71,20.71C14.32,21.1 13.69,21.1 13.3,20.71L9.29,16.7C9.06,16.47 8.96,16.16 9,15.87V10.75L4.21,4.62C3.87,4.19 3.95,3.56 4.38,3.22C4.57,3.08 4.78,3 5,3V3H19V3C19.22,3 19.43,3.08 19.62,3.22C20.05,3.56 20.13,4.19 19.79,4.62L15,10.75V19.88M7.04,5L11,10.06V15.58L13,17.58V10.05L16.96,5H7.04Z" />
+</vector>
diff --git a/core/src/main/res/drawable/ic_rounded_corner_left.xml b/core/src/main/res/drawable/ic_rounded_corner_left.xml
new file mode 100644
index 000000000..8b1b90605
--- /dev/null
+++ b/core/src/main/res/drawable/ic_rounded_corner_left.xml
@@ -0,0 +1,7 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:height="24dp"
+ android:width="24dp"
+ android:viewportWidth="8"
+ android:viewportHeight="8">
+ <path android:fillColor="?attr/background_color" android:pathData="M0 8 0 0C0 4 4 8 8 8Z" />
+</vector>
diff --git a/core/src/main/res/drawable/ic_rounded_corner_right.xml b/core/src/main/res/drawable/ic_rounded_corner_right.xml
new file mode 100644
index 000000000..56decd91c
--- /dev/null
+++ b/core/src/main/res/drawable/ic_rounded_corner_right.xml
@@ -0,0 +1,7 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:height="24dp"
+ android:width="24dp"
+ android:viewportWidth="8"
+ android:viewportHeight="8">
+ <path android:fillColor="?attr/background_color" android:pathData="M8 8 0 8C4 8 8 4 8 0Z" />
+</vector>
diff --git a/core/src/main/res/drawable/ic_sort.xml b/core/src/main/res/drawable/ic_sort.xml
deleted file mode 100644
index 5a43ea587..000000000
--- a/core/src/main/res/drawable/ic_sort.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<vector android:height="24dp"
- android:viewportHeight="24.0" android:viewportWidth="24.0"
- android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
- <path android:fillColor="?attr/action_icon_color" android:pathData="M3,18h6v-2L3,16v2zM3,6v2h18L21,6L3,6zM3,13h12v-2L3,11v2z"/>
-</vector>
diff --git a/core/src/main/res/values/attrs.xml b/core/src/main/res/values/attrs.xml
index 596b1cca2..6f88b6d51 100644
--- a/core/src/main/res/values/attrs.xml
+++ b/core/src/main/res/values/attrs.xml
@@ -8,6 +8,7 @@
<attr name="drawer_activated_color" format="color"/>
<attr name="action_icon_color" format="color"/>
<attr name="scrollbar_thumb" format="reference"/>
+ <attr name="background_color" format="color"/>
<attr name="background_elevated" format="color"/>
<attr name="filter_dialog_clear" format="color"/>
<attr name="filter_dialog_button_background" format="reference"/>
diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml
index 2fa76eae5..2b0529f85 100644
--- a/core/src/main/res/values/styles.xml
+++ b/core/src/main/res/values/styles.xml
@@ -13,6 +13,7 @@
<item name="progressBarTheme">@style/ProgressBarLight</item>
<item name="colorPrimaryDark">@color/accent_light</item>
<item name="android:windowBackground">@color/background_light</item>
+ <item name="background_color">@color/background_light</item>
<item name="actionBarStyle">@style/Widget.AntennaPod.ActionBar.Light</item>
<item name="background_elevated">@color/background_elevated_light</item>
<item name="master_switch_background">@color/master_switch_background_light</item>
@@ -46,6 +47,7 @@
<item name="colorPrimary">@color/accent_dark</item>
<item name="colorPrimaryDark">@color/background_darktheme</item>
<item name="android:windowBackground">@color/background_darktheme</item>
+ <item name="background_color">@color/background_darktheme</item>
<item name="actionBarStyle">@style/Widget.AntennaPod.ActionBar.Dark</item>
<item name="background_elevated">@color/background_elevated_darktheme</item>
<item name="colorControlNormal">@color/white</item>
@@ -83,6 +85,7 @@
<item name="android:color">@color/white</item>
<item name="android:colorBackground">@color/black</item>
<item name="android:windowBackground">@color/black</item>
+ <item name="background_color">@color/black</item>
<item name="android:actionBarStyle">@color/black</item>
<item name="background_elevated">@color/black</item>
<item name="android:textColorHint">@color/medium_gray</item>