diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2024-03-17 18:43:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-17 18:43:55 +0100 |
commit | 0cbd97b5cbffa5ba1b2458a2b33248e98a376d7e (patch) | |
tree | b1967d54efbcc71bc07bd8ef40f0d371c8b0f292 /core/src/main/res | |
parent | 17f5a5d1b85f07bada36abe6541ed0fc1e1d83a2 (diff) | |
download | AntennaPod-0cbd97b5cbffa5ba1b2458a2b33248e98a376d7e.zip |
Move theme to :ui:common module (#6997)
This enables creating Activities outside the app and core modules
Diffstat (limited to 'core/src/main/res')
41 files changed, 0 insertions, 585 deletions
diff --git a/core/src/main/res/color/button_bg_selector.xml b/core/src/main/res/color/button_bg_selector.xml deleted file mode 100644 index f416daa72..000000000 --- a/core/src/main/res/color/button_bg_selector.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <!-- Difference to Material Components: alpha is 0.3 instead of 0.08 --> - <item android:alpha="0.3" android:color="?attr/colorPrimary" android:state_checked="true"/> - <item android:color="@android:color/transparent" android:state_checked="false"/> -</selector>
\ No newline at end of file diff --git a/core/src/main/res/drawable-nodpi/launcher_animate_bg.png b/core/src/main/res/drawable-nodpi/launcher_animate_bg.png Binary files differdeleted file mode 100644 index 00eb3a2d6..000000000 --- a/core/src/main/res/drawable-nodpi/launcher_animate_bg.png +++ /dev/null diff --git a/core/src/main/res/drawable-nodpi/launcher_animate_wave1.png b/core/src/main/res/drawable-nodpi/launcher_animate_wave1.png Binary files differdeleted file mode 100644 index 432e497c3..000000000 --- a/core/src/main/res/drawable-nodpi/launcher_animate_wave1.png +++ /dev/null diff --git a/core/src/main/res/drawable-nodpi/launcher_animate_wave2.png b/core/src/main/res/drawable-nodpi/launcher_animate_wave2.png Binary files differdeleted file mode 100644 index 16d4e5023..000000000 --- a/core/src/main/res/drawable-nodpi/launcher_animate_wave2.png +++ /dev/null diff --git a/core/src/main/res/drawable-nodpi/teaser.webp b/core/src/main/res/drawable-nodpi/teaser.webp Binary files differdeleted file mode 100644 index 1f1e4a4a3..000000000 --- a/core/src/main/res/drawable-nodpi/teaser.webp +++ /dev/null diff --git a/core/src/main/res/drawable/bg_pill_translucent.xml b/core/src/main/res/drawable/bg_pill_translucent.xml deleted file mode 100644 index b25a9ac82..000000000 --- a/core/src/main/res/drawable/bg_pill_translucent.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> - <solid android:color="#D2404040" /> - <corners android:radius="18dp" /> -</shape> diff --git a/core/src/main/res/drawable/ic_drag_darktheme.xml b/core/src/main/res/drawable/ic_drag_darktheme.xml deleted file mode 100644 index 20c7db484..000000000 --- a/core/src/main/res/drawable/ic_drag_darktheme.xml +++ /dev/null @@ -1,9 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="20dp" - android:height="30dp" - android:viewportWidth="3" - android:viewportHeight="4.5"> - <path - android:pathData="M 0.75 0.25 A 0.5 0.5 0 0 0 0.25 0.75 A 0.5 0.5 135 0 0 0.75 1.25 A 0.5 0.5 0 0 0 1.25 0.75 A 0.5 0.5 45 0 0 0.75 0.25 z M 2.25 0.25 A 0.5 0.5 0 0 0 1.75 0.75 A 0.5 0.5 0 0 0 2.25 1.25 A 0.5 0.5 0 0 0 2.75 0.75 A 0.5 0.5 0 0 0 2.25 0.25 z M 0.75 1.75 A 0.5 0.5 0 0 0 0.25 2.25 A 0.5 0.5 0 0 0 0.75 2.75 A 0.5 0.5 0 0 0 1.25 2.25 A 0.5 0.5 0 0 0 0.75 1.75 z M 2.25 1.75 A 0.5 0.5 0 0 0 1.75 2.25 A 0.5 0.5 0 0 0 2.25 2.75 A 0.5 0.5 0 0 0 2.75 2.25 A 0.5 0.5 0 0 0 2.25 1.75 z M 0.75 3.25 A 0.5 0.5 0 0 0 0.25 3.75 A 0.5 0.5 45 0 0 0.75 4.25 A 0.5 0.5 45 0 0 1.25 3.75 A 0.5 0.5 0 0 0 0.75 3.25 z M 2.25 3.25 A 0.5 0.5 0 0 0 1.75 3.75 A 0.5 0.5 45 0 0 2.25 4.25 A 0.5 0.5 45 0 0 2.75 3.75 A 0.5 0.5 0 0 0 2.25 3.25 z" - android:fillColor="#a9a9a9"/> -</vector> diff --git a/core/src/main/res/drawable/ic_drag_lighttheme.xml b/core/src/main/res/drawable/ic_drag_lighttheme.xml deleted file mode 100644 index 46ff2f495..000000000 --- a/core/src/main/res/drawable/ic_drag_lighttheme.xml +++ /dev/null @@ -1,9 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="20dp" - android:height="30dp" - android:viewportWidth="3" - android:viewportHeight="4.5"> - <path - android:pathData="M 0.75 0.25 A 0.5 0.5 0 0 0 0.25 0.75 A 0.5 0.5 135 0 0 0.75 1.25 A 0.5 0.5 0 0 0 1.25 0.75 A 0.5 0.5 45 0 0 0.75 0.25 z M 2.25 0.25 A 0.5 0.5 0 0 0 1.75 0.75 A 0.5 0.5 0 0 0 2.25 1.25 A 0.5 0.5 0 0 0 2.75 0.75 A 0.5 0.5 0 0 0 2.25 0.25 z M 0.75 1.75 A 0.5 0.5 0 0 0 0.25 2.25 A 0.5 0.5 0 0 0 0.75 2.75 A 0.5 0.5 0 0 0 1.25 2.25 A 0.5 0.5 0 0 0 0.75 1.75 z M 2.25 1.75 A 0.5 0.5 0 0 0 1.75 2.25 A 0.5 0.5 0 0 0 2.25 2.75 A 0.5 0.5 0 0 0 2.75 2.25 A 0.5 0.5 0 0 0 2.25 1.75 z M 0.75 3.25 A 0.5 0.5 0 0 0 0.25 3.75 A 0.5 0.5 45 0 0 0.75 4.25 A 0.5 0.5 45 0 0 1.25 3.75 A 0.5 0.5 0 0 0 0.75 3.25 z M 2.25 3.25 A 0.5 0.5 0 0 0 1.75 3.75 A 0.5 0.5 45 0 0 2.25 4.25 A 0.5 0.5 45 0 0 2.75 3.75 A 0.5 0.5 0 0 0 2.25 3.25 z" - android:fillColor="#9d9d9d"/> -</vector> diff --git a/core/src/main/res/drawable/launcher_animate.xml b/core/src/main/res/drawable/launcher_animate.xml deleted file mode 100644 index 189a01d26..000000000 --- a/core/src/main/res/drawable/launcher_animate.xml +++ /dev/null @@ -1,45 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<animation-list - xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:aapt="http://schemas.android.com/aapt" - android:oneshot="false"> - - <item android:duration="1000"> - <aapt:attr name="android:drawable"> - <layer-list> - <item android:drawable="@drawable/launcher_animate_bg" /> - <item android:drawable="@drawable/launcher_animate_wave1" /> - <item android:drawable="@drawable/launcher_animate_wave2" /> - </layer-list> - </aapt:attr> - </item> - - <item android:duration="80"> - <aapt:attr name="android:drawable"> - <layer-list> - <item android:drawable="@drawable/launcher_animate_bg" /> - <item android:drawable="@drawable/launcher_animate_wave1" /> - </layer-list> - </aapt:attr> - </item> - - <item android:duration="200"> - <aapt:attr name="android:drawable"> - <layer-list> - <item android:drawable="@drawable/launcher_animate_bg" /> - </layer-list> - </aapt:attr> - </item> - - <item android:duration="80"> - <aapt:attr name="android:drawable"> - <layer-list> - <item android:drawable="@drawable/launcher_animate_bg" /> - <item android:drawable="@drawable/launcher_animate_wave1" /> - </layer-list> - </aapt:attr> - </item> - -</animation-list> - - diff --git a/core/src/main/res/drawable/progress_bar_horizontal_dark.xml b/core/src/main/res/drawable/progress_bar_horizontal_dark.xml deleted file mode 100644 index b575c2f80..000000000 --- a/core/src/main/res/drawable/progress_bar_horizontal_dark.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:id="@android:id/background"> - <shape> - <solid android:color="#19FFFFFF"/> - </shape> - </item> - <item android:id="@android:id/progress"> - <clip> - <shape> - <solid android:color="?attr/colorAccent"/> - </shape> - </clip> - </item> -</layer-list> diff --git a/core/src/main/res/drawable/progress_bar_horizontal_light.xml b/core/src/main/res/drawable/progress_bar_horizontal_light.xml deleted file mode 100644 index b2e18c988..000000000 --- a/core/src/main/res/drawable/progress_bar_horizontal_light.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:id="@android:id/background"> - <shape> - <solid android:color="#19212121"/> - </shape> - </item> - <item android:id="@android:id/progress"> - <clip> - <shape> - <solid android:color="?attr/colorAccent"/> - </shape> - </clip> - </item> -</layer-list> diff --git a/core/src/main/res/drawable/scrollbar_thumb_dark.xml b/core/src/main/res/drawable/scrollbar_thumb_dark.xml deleted file mode 100644 index 929c03914..000000000 --- a/core/src/main/res/drawable/scrollbar_thumb_dark.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:drawable="@drawable/scrollbar_thumb_pressed_dark"/> - <item android:drawable="@drawable/scrollbar_thumb_default"/> -</selector> diff --git a/core/src/main/res/drawable/scrollbar_thumb_default.xml b/core/src/main/res/drawable/scrollbar_thumb_default.xml deleted file mode 100644 index 5e8a98b44..000000000 --- a/core/src/main/res/drawable/scrollbar_thumb_default.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> - <item> - <shape android:shape="rectangle"> - <size android:height="24dp" android:width="24dp"/> - </shape> - </item> - <item android:gravity="end"> - <shape android:shape="rectangle"> - <solid android:color="#99666666"/> - <size android:height="4dp" android:width="4dp"/> - </shape> - </item> -</layer-list> diff --git a/core/src/main/res/drawable/scrollbar_thumb_light.xml b/core/src/main/res/drawable/scrollbar_thumb_light.xml deleted file mode 100644 index a13cfd705..000000000 --- a/core/src/main/res/drawable/scrollbar_thumb_light.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:drawable="@drawable/scrollbar_thumb_pressed_light"/> - <item android:drawable="@drawable/scrollbar_thumb_default"/> -</selector> diff --git a/core/src/main/res/drawable/scrollbar_thumb_pressed_dark.xml b/core/src/main/res/drawable/scrollbar_thumb_pressed_dark.xml deleted file mode 100644 index a1618c5b6..000000000 --- a/core/src/main/res/drawable/scrollbar_thumb_pressed_dark.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> - <item> - <shape android:shape="rectangle"> - <size android:height="24dp" android:width="24dp"/> - </shape> - </item> - <item android:gravity="end"> - <shape android:shape="rectangle"> - <solid android:color="@color/accent_dark"/> - <size android:height="4dp" android:width="4dp"/> - </shape> - </item> -</layer-list> diff --git a/core/src/main/res/drawable/scrollbar_thumb_pressed_light.xml b/core/src/main/res/drawable/scrollbar_thumb_pressed_light.xml deleted file mode 100644 index be684541a..000000000 --- a/core/src/main/res/drawable/scrollbar_thumb_pressed_light.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> - <item> - <shape android:shape="rectangle"> - <size android:height="24dp" android:width="24dp"/> - </shape> - </item> - <item android:gravity="end"> - <shape android:shape="rectangle"> - <solid android:color="@color/accent_light"/> - <size android:height="4dp" android:width="4dp"/> - </shape> - </item> -</layer-list> diff --git a/core/src/main/res/drawable/scrollbar_track.xml b/core/src/main/res/drawable/scrollbar_track.xml deleted file mode 100644 index ce838abe9..000000000 --- a/core/src/main/res/drawable/scrollbar_track.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:drawable="@android:color/transparent"/> -</selector> diff --git a/core/src/main/res/layout/preference_material_switch.xml b/core/src/main/res/layout/preference_material_switch.xml deleted file mode 100644 index b39e6b00f..000000000 --- a/core/src/main/res/layout/preference_material_switch.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Derived from https://github.com/androidx/androidx/blob/8cb282cc/preference/preference/res/layout/preference_widget_switch_compat.xml --> -<com.google.android.material.materialswitch.MaterialSwitch - xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/switchWidget" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:background="@null" - android:clickable="false" - android:focusable="false" /> diff --git a/core/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/core/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 9764d2aa9..000000000 --- a/core/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@mipmap/ic_launcher_background"/> - <foreground android:drawable="@mipmap/ic_launcher_foreground"/> - <monochrome android:drawable="@mipmap/ic_launcher_monochrome"/> -</adaptive-icon>
\ No newline at end of file diff --git a/core/src/main/res/mipmap-hdpi/ic_launcher.png b/core/src/main/res/mipmap-hdpi/ic_launcher.png Binary files differdeleted file mode 100644 index efda51a0e..000000000 --- a/core/src/main/res/mipmap-hdpi/ic_launcher.png +++ /dev/null diff --git a/core/src/main/res/mipmap-hdpi/ic_launcher_background.png b/core/src/main/res/mipmap-hdpi/ic_launcher_background.png Binary files differdeleted file mode 100644 index 3b5e329e5..000000000 --- a/core/src/main/res/mipmap-hdpi/ic_launcher_background.png +++ /dev/null diff --git a/core/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/core/src/main/res/mipmap-hdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index b52ad5dd6..000000000 --- a/core/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/core/src/main/res/mipmap-mdpi/ic_launcher.png b/core/src/main/res/mipmap-mdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 9c2a5867a..000000000 --- a/core/src/main/res/mipmap-mdpi/ic_launcher.png +++ /dev/null diff --git a/core/src/main/res/mipmap-mdpi/ic_launcher_background.png b/core/src/main/res/mipmap-mdpi/ic_launcher_background.png Binary files differdeleted file mode 100644 index 38164a0b0..000000000 --- a/core/src/main/res/mipmap-mdpi/ic_launcher_background.png +++ /dev/null diff --git a/core/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/core/src/main/res/mipmap-mdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 236f6fca2..000000000 --- a/core/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/core/src/main/res/mipmap-xhdpi/ic_launcher.png b/core/src/main/res/mipmap-xhdpi/ic_launcher.png Binary files differdeleted file mode 100644 index a58294b36..000000000 --- a/core/src/main/res/mipmap-xhdpi/ic_launcher.png +++ /dev/null diff --git a/core/src/main/res/mipmap-xhdpi/ic_launcher_background.png b/core/src/main/res/mipmap-xhdpi/ic_launcher_background.png Binary files differdeleted file mode 100644 index 7bf8bf8a7..000000000 --- a/core/src/main/res/mipmap-xhdpi/ic_launcher_background.png +++ /dev/null diff --git a/core/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/core/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 03cf16e53..000000000 --- a/core/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/core/src/main/res/mipmap-xxhdpi/ic_launcher.png b/core/src/main/res/mipmap-xxhdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 0245e6394..000000000 --- a/core/src/main/res/mipmap-xxhdpi/ic_launcher.png +++ /dev/null diff --git a/core/src/main/res/mipmap-xxhdpi/ic_launcher_background.png b/core/src/main/res/mipmap-xxhdpi/ic_launcher_background.png Binary files differdeleted file mode 100644 index e1982893d..000000000 --- a/core/src/main/res/mipmap-xxhdpi/ic_launcher_background.png +++ /dev/null diff --git a/core/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/core/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index e6a824939..000000000 --- a/core/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/core/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/core/src/main/res/mipmap-xxxhdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 998bfdea8..000000000 --- a/core/src/main/res/mipmap-xxxhdpi/ic_launcher.png +++ /dev/null diff --git a/core/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png b/core/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png Binary files differdeleted file mode 100644 index 8db9c15a8..000000000 --- a/core/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png +++ /dev/null diff --git a/core/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/core/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index ccc00751c..000000000 --- a/core/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/core/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png b/core/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png Binary files differdeleted file mode 100644 index ae9ba36ea..000000000 --- a/core/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png +++ /dev/null diff --git a/core/src/main/res/values-v23/styles.xml b/core/src/main/res/values-v23/styles.xml deleted file mode 100644 index 95740f648..000000000 --- a/core/src/main/res/values-v23/styles.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android"> - <style name="Theme.AntennaPod.Dynamic.Light" parent="Theme.Base.AntennaPod.Dynamic.Light"> - <item name="android:statusBarColor">@android:color/transparent</item> - <item name="android:windowLightStatusBar">true</item> - <!-- To make icons visible --> - <item name="android:navigationBarColor">@color/grey600</item> - </style> -</resources> diff --git a/core/src/main/res/values-v27/styles.xml b/core/src/main/res/values-v27/styles.xml deleted file mode 100644 index df4d786be..000000000 --- a/core/src/main/res/values-v27/styles.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android"> - <style name="Theme.AntennaPod.Dynamic.Light" parent="Theme.Base.AntennaPod.Dynamic.Light"> - <item name="android:statusBarColor">@android:color/transparent</item> - <item name="android:windowLightStatusBar">true</item> - <item name="android:navigationBarColor">@color/background_light</item> - <item name="android:navigationBarDividerColor">@color/navigation_bar_divider_light</item> - <item name="android:windowLightNavigationBar">true</item> - </style> -</resources> diff --git a/core/src/main/res/values/attrs.xml b/core/src/main/res/values/attrs.xml deleted file mode 100644 index 57fde8e10..000000000 --- a/core/src/main/res/values/attrs.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <attr name="dragview_background" format="reference"/> - <attr name="progressBarTheme" format="reference"/> - <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="seek_background" format="color" /> - <attr name="icon_red" format="color" /> - <attr name="icon_yellow" format="color" /> - <attr name="icon_green" format="color" /> - <attr name="icon_purple" format="color" /> - <attr name="icon_gray" format="color" /> -</resources> diff --git a/core/src/main/res/values/colors.xml b/core/src/main/res/values/colors.xml deleted file mode 100644 index ad835faf4..000000000 --- a/core/src/main/res/values/colors.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - - <color name="white">#FFFFFF</color> - <color name="grey100">#f5f5f5</color> - <color name="grey600">#757575</color> - <color name="light_gray">#bfbfbf</color> - <color name="medium_gray">#afafaf</color> - <color name="black">#000000</color> - <color name="image_readability_tint">#80000000</color> - <color name="feed_image_bg">#50000000</color> - <color name="feed_text_bg">#55333333</color> - - <!-- Theme colors --> - <color name="background_light">#FFFFFF</color> - <color name="background_elevated_light">#EFEEEE</color> - <color name="background_darktheme">#21272b</color> - <color name="background_elevated_darktheme">#2D3337</color> - <color name="non_square_icon_background">#22777777</color> - <color name="seek_background_light">#90000000</color> - <color name="seek_background_dark">#905B5B5B</color> - <color name="navigation_bar_divider_light">#1F000000</color> - - <color name="accent_light">#0078C2</color> - <color name="accent_dark">#3D8BFF</color> - - <color name="gradient_000">#364ff3</color> - <color name="gradient_025">#2E6FF6</color> - <color name="gradient_075">#1EB0FC</color> - <color name="gradient_100">#16d0ff</color> -</resources> diff --git a/core/src/main/res/values/dimens.xml b/core/src/main/res/values/dimens.xml deleted file mode 100644 index 68d0e59ab..000000000 --- a/core/src/main/res/values/dimens.xml +++ /dev/null @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <dimen name="widget_margin">0dp</dimen> - <dimen name="widget_inner_radius">4dp</dimen> - <dimen name="external_player_height">64dp</dimen> - <dimen name="text_size_micro">12sp</dimen> - <dimen name="text_size_small">14sp</dimen> - <dimen name="text_size_navdrawer">16sp</dimen> - <dimen name="text_size_large">22sp</dimen> - <dimen name="thumbnail_length_itemlist">56dp</dimen> - <dimen name="thumbnail_length_queue_item">56dp</dimen> - <dimen name="thumbnail_length_onlinefeedview">92dp</dimen> - <dimen name="feeditemlist_header_height">132dp</dimen> - <dimen name="thumbnail_length_navlist">40dp</dimen> - <dimen name="listitem_iconwithtext_height">48dp</dimen> - <dimen name="listitem_iconwithtext_textleftpadding">16dp</dimen> - - <dimen name="listitem_threeline_textleftpadding">16dp</dimen> - <dimen name="listitem_threeline_textrightpadding">8dp</dimen> - <dimen name="listitem_threeline_verticalpadding">8dp</dimen> - - <dimen name="list_vertical_padding">8dp</dimen> - <dimen name="listitem_icon_leftpadding">16dp</dimen> - - <dimen name="audioplayer_playercontrols_length">48dp</dimen> - <dimen name="audioplayer_playercontrols_length_big">64dp</dimen> - <dimen name="audioplayer_playercontrols_margin">12dp</dimen> - - <dimen name="nav_drawer_max_screen_size">480dp</dimen> -</resources> diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml deleted file mode 100644 index da227d163..000000000 --- a/core/src/main/res/values/styles.xml +++ /dev/null @@ -1,314 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"> - - <style name="Theme.AntennaPod.Dynamic.Light" parent="Theme.Base.AntennaPod.Dynamic.Light"> - <!-- Room for API dependent attributes --> - - <!-- To make icons visible on API 21-23. Overwritten in API-specific folder --> - <item name="android:statusBarColor">@color/grey600</item> - <item name="android:navigationBarColor">@color/grey600</item> - </style> - - <style name="Theme.Base.AntennaPod.Dynamic.Light" parent="Theme.Material3.DynamicColors.Light"> - <item name="progressBarTheme">@style/ProgressBarLight</item> - <item name="background_color">@color/background_light</item> - <item name="actionBarStyle">@style/Widget.AntennaPod.ActionBar</item> - <item name="background_elevated">@color/background_elevated_light</item> - <item name="action_icon_color">@color/black</item> - <item name="android:textAllCaps">false</item> - <item name="seek_background">@color/seek_background_light</item> - <item name="dragview_background">@drawable/ic_drag_lighttheme</item> - <item name="scrollbar_thumb">@drawable/scrollbar_thumb_light</item> - <item name="icon_red">#CF1800</item> - <item name="icon_yellow">#F59F00</item> - <item name="icon_green">#008537</item> - <item name="icon_purple">#5F1984</item> - <item name="icon_gray">#25365A</item> - <item name="android:splitMotionEvents">false</item> - <item name="android:fitsSystemWindows">false</item> - <item name="android:windowContentTransitions">true</item> - <item name="preferenceTheme">@style/AppPreferenceThemeOverlay</item> - </style> - - <style name="Theme.AntennaPod.Light" parent="Theme.AntennaPod.Dynamic.Light"> - <item name="isMaterial3DynamicColorApplied">false</item> - <item name="colorPrimary">@color/accent_light</item> - <item name="colorOnPrimary">@color/white</item> - <item name="colorAccent">@color/accent_light</item> - <item name="colorSecondary">@color/accent_light</item> - <item name="colorOnSecondary">@color/white</item> - <item name="colorPrimaryDark">@color/accent_light</item> - <item name="colorPrimaryContainer">@color/accent_light</item> - <item name="colorOnPrimaryContainer">@color/white</item> - <item name="android:colorBackground">@color/background_light</item> - <item name="colorSurface">@color/background_light</item> - <item name="colorSurfaceVariant">#D3DCE0</item> - </style> - - <style name="Theme.AntennaPod.Dynamic.Dark" parent="Theme.Base.AntennaPod.Dynamic.Dark"> - <!-- Room for API dependent attributes --> - </style> - - <style name="Theme.Base.AntennaPod.Dynamic.Dark" parent="Theme.Material3.DynamicColors.Dark"> - <item name="progressBarTheme">@style/ProgressBarDark</item> - <item name="background_color">@color/background_darktheme</item> - <item name="actionBarStyle">@style/Widget.AntennaPod.ActionBar</item> - <item name="background_elevated">@color/background_elevated_darktheme</item> - <item name="action_icon_color">@color/white</item> - <item name="android:textAllCaps">false</item> - <item name="seek_background">@color/seek_background_dark</item> - <item name="dragview_background">@drawable/ic_drag_darktheme</item> - <item name="scrollbar_thumb">@drawable/scrollbar_thumb_dark</item> - <item name="icon_red">#CF1800</item> - <item name="icon_yellow">#F59F00</item> - <item name="icon_green">#008537</item> - <item name="icon_purple">#AA55D8</item> - <item name="icon_gray">#CDD9E4</item> - <item name="android:splitMotionEvents">false</item> - <item name="android:fitsSystemWindows">false</item> - <item name="android:statusBarColor">@android:color/transparent</item> - <item name="android:windowLightStatusBar" tools:targetApi="m">false</item> - <item name="android:windowContentTransitions">true</item> - <item name="android:navigationBarColor">@color/background_darktheme</item> - <item name="preferenceTheme">@style/AppPreferenceThemeOverlay</item> - </style> - - <style name="Theme.AntennaPod.Dark" parent="Theme.AntennaPod.Dynamic.Dark"> - <item name="isMaterial3DynamicColorApplied">false</item> - <item name="colorPrimary">@color/accent_dark</item> - <item name="colorOnPrimary">@color/black</item> - <item name="colorAccent">@color/accent_dark</item> - <item name="colorSecondary">@color/accent_dark</item> - <item name="colorOnSecondary">@color/black</item> - <item name="colorPrimaryDark">@color/accent_dark</item> - <item name="colorPrimaryContainer">@color/accent_dark</item> - <item name="colorOnPrimaryContainer">@color/black</item> - <item name="android:colorBackground">@color/background_darktheme</item> - <item name="colorSurface">@color/background_darktheme</item> - <item name="colorSurfaceVariant">#2F3B4F</item> - </style> - - <style name="Theme.AntennaPod.Dynamic.TrueBlack" parent="Theme.AntennaPod.Dynamic.Dark"> - <item name="android:textColorPrimary">@color/white</item> - <item name="android:color">@color/white</item> - <item name="android:colorBackground">@color/black</item> - <item name="colorSurface">@color/black</item> - <item name="background_color">@color/black</item> - <item name="background_elevated">@color/black</item> - <item name="android:navigationBarColor">@color/black</item> - </style> - - <style name="Theme.AntennaPod.TrueBlack" parent="Theme.AntennaPod.Dark"> - <item name="android:textColorPrimary">@color/white</item> - <item name="android:color">@color/white</item> - <item name="android:colorBackground">@color/black</item> - <item name="colorSurface">@color/black</item> - <item name="background_color">@color/black</item> - <item name="background_elevated">@color/black</item> - <item name="android:navigationBarColor">@color/black</item> - </style> - - <style name="Theme.AntennaPod.Dynamic.Light.NoTitle" parent="Theme.AntennaPod.Dynamic.Light"> - <item name="windowActionBar">false</item> - <item name="windowNoTitle">true</item> - <item name="windowActionModeOverlay">true</item> - </style> - - <style name="Theme.AntennaPod.Light.NoTitle" parent="Theme.AntennaPod.Light"> - <item name="windowActionBar">false</item> - <item name="windowNoTitle">true</item> - <item name="windowActionModeOverlay">true</item> - </style> - - <style name="Theme.AntennaPod.Dynamic.Dark.NoTitle" parent="Theme.AntennaPod.Dynamic.Dark"> - <item name="windowActionBar">false</item> - <item name="windowNoTitle">true</item> - <item name="windowActionModeOverlay">true</item> - </style> - - <style name="Theme.AntennaPod.Dark.NoTitle" parent="Theme.AntennaPod.Dark"> - <item name="windowActionBar">false</item> - <item name="windowNoTitle">true</item> - <item name="windowActionModeOverlay">true</item> - </style> - - <style name="Theme.AntennaPod.TrueBlack.NoTitle" parent="Theme.AntennaPod.TrueBlack"> - <item name="windowActionBar">false</item> - <item name="windowNoTitle">true</item> - <item name="windowActionModeOverlay">true</item> - </style> - - <style name="Theme.AntennaPod.Dynamic.TrueBlack.NoTitle" parent="Theme.AntennaPod.Dynamic.TrueBlack"> - <item name="windowActionBar">false</item> - <item name="windowNoTitle">true</item> - <item name="windowActionModeOverlay">true</item> - </style> - - <style name="Theme.AntennaPod.Dynamic.Light.Translucent" parent="Theme.AntennaPod.Dynamic.Light.NoTitle"> - <item name="android:statusBarColor">@android:color/transparent</item> - <item name="android:windowLightStatusBar" tools:targetApi="M">false</item> - <item name="android:windowIsTranslucent">true</item> - <item name="android:windowBackground">@android:color/transparent</item> - <item name="android:windowContentOverlay">@null</item> - <item name="android:backgroundDimEnabled">true</item> - <item name="android:windowAnimationStyle">@style/AnimationFade</item> - <item name="android:fitsSystemWindows">true</item> - </style> - - <style name="Theme.AntennaPod.Light.Translucent" parent="Theme.AntennaPod.Light.NoTitle"> - <item name="android:statusBarColor">@android:color/transparent</item> - <item name="android:windowLightStatusBar" tools:targetApi="M">false</item> - <item name="android:windowIsTranslucent">true</item> - <item name="android:windowBackground">@android:color/transparent</item> - <item name="android:windowContentOverlay">@null</item> - <item name="android:backgroundDimEnabled">true</item> - <item name="android:windowAnimationStyle">@style/AnimationFade</item> - <item name="android:fitsSystemWindows">true</item> - </style> - - <style name="Theme.AntennaPod.Dynamic.Dark.Translucent" parent="Theme.AntennaPod.Dynamic.Dark.NoTitle"> - <item name="android:statusBarColor">@android:color/transparent</item> - <item name="android:windowLightStatusBar" tools:targetApi="M">false</item> - <item name="android:windowIsTranslucent">true</item> - <item name="android:windowBackground">@android:color/transparent</item> - <item name="android:windowContentOverlay">@null</item> - <item name="android:backgroundDimEnabled">true</item> - <item name="android:windowAnimationStyle">@style/AnimationFade</item> - <item name="android:fitsSystemWindows">true</item> - </style> - - <style name="Theme.AntennaPod.Dark.Translucent" parent="Theme.AntennaPod.Dark.NoTitle"> - <item name="android:statusBarColor">@android:color/transparent</item> - <item name="android:windowLightStatusBar" tools:targetApi="M">false</item> - <item name="android:windowIsTranslucent">true</item> - <item name="android:windowBackground">@android:color/transparent</item> - <item name="android:windowContentOverlay">@null</item> - <item name="android:backgroundDimEnabled">true</item> - <item name="android:windowAnimationStyle">@style/AnimationFade</item> - <item name="android:fitsSystemWindows">true</item> - </style> - - <style name="Theme.AntennaPod.Dynamic.TrueBlack.Translucent" parent="Theme.AntennaPod.Dynamic.TrueBlack.NoTitle"> - <item name="android:statusBarColor">@android:color/transparent</item> - <item name="android:windowLightStatusBar" tools:targetApi="M">false</item> - <item name="android:windowIsTranslucent">true</item> - <item name="android:windowBackground">@android:color/transparent</item> - <item name="android:windowContentOverlay">@null</item> - <item name="android:backgroundDimEnabled">true</item> - <item name="android:windowAnimationStyle">@style/AnimationFade</item> - <item name="android:fitsSystemWindows">true</item> - </style> - - <style name="Theme.AntennaPod.TrueBlack.Translucent" parent="Theme.AntennaPod.TrueBlack.NoTitle"> - <item name="android:statusBarColor">@android:color/transparent</item> - <item name="android:windowLightStatusBar" tools:targetApi="M">false</item> - <item name="android:windowIsTranslucent">true</item> - <item name="android:windowBackground">@android:color/transparent</item> - <item name="android:windowContentOverlay">@null</item> - <item name="android:backgroundDimEnabled">true</item> - <item name="android:windowAnimationStyle">@style/AnimationFade</item> - <item name="android:fitsSystemWindows">true</item> - </style> - - <style name="AnimationFade"> - <item name="android:windowEnterAnimation">@android:anim/fade_in</item> - <item name="android:windowExitAnimation">@android:anim/fade_out</item> - </style> - - <style name="Theme.AntennaPod.Splash" parent="Theme.SplashScreen"> - <item name="android:navigationBarColor">@android:color/transparent</item> - <item name="android:statusBarColor">@android:color/transparent</item> - <item name="android:windowLightStatusBar" tools:targetApi="M">false</item> - <item name="android:fitsSystemWindows">true</item> - <item name="android:windowTranslucentStatus">false</item> - <item name="android:windowTranslucentNavigation">false</item> - <item name="android:windowDrawsSystemBarBackgrounds">true</item> - <item name="android:enforceNavigationBarContrast" tools:targetApi="q">false</item> - <item name="windowSplashScreenAnimatedIcon">@drawable/launcher_animate</item> - </style> - - <style name="Theme.AntennaPod.VideoPlayer" parent="@style/Theme.AntennaPod.Dark"> - <item name="windowActionBarOverlay">true</item> - </style> - - <style name="AntennaPod.TextView.Heading" parent="@android:style/TextAppearance.Medium"> - <item name="android:textSize">@dimen/text_size_large</item> - <item name="android:textColor">?android:attr/textColorPrimary</item> - <item name="android:fontFamily">sans-serif-light</item> - </style> - - <style name="AntennaPod.TextView.ListItemPrimaryTitle" parent="@style/TextAppearance.Material3.BodyLarge"> - <item name="android:textColor">?attr/colorOnSurface</item> - <item name="android:maxLines">2</item> - <item name="android:ellipsize">end</item> - <item name="lineHeight">20sp</item> - <item name="android:lineHeight" tools:targetApi="p">20sp</item> - </style> - - <style name="AntennaPod.TextView.ListItemSecondaryTitle" parent="@style/TextAppearance.Material3.BodyMedium"> - <item name="android:textColor">?attr/colorOnSurfaceVariant</item> - <item name="android:lines">1</item> - <item name="android:ellipsize">end</item> - </style> - - <style name="AntennaPod.TextView.ListItemBody" parent="@style/TextAppearance.Material3.BodyMedium"> - <item name="android:textColor">?attr/colorOnSurfaceVariant</item> - <item name="lineHeight">18sp</item> - <item name="android:lineHeight" tools:targetApi="p">18sp</item> - </style> - - <style name="OutlinedButtonBetterContrast" parent="Widget.Material3.Button.OutlinedButton"> - <item name="backgroundTint">@color/button_bg_selector</item> - </style> - - <style name="ProgressBarLight"> - <item name="android:indeterminateOnly">false</item> - <item name="android:progressDrawable">@drawable/progress_bar_horizontal_light</item> - </style> - - <style name="ProgressBarDark"> - <item name="android:indeterminateOnly">false</item> - <item name="android:progressDrawable">@drawable/progress_bar_horizontal_dark</item> - </style> - - <style name="FastScrollRecyclerView" parent="android:Widget"> - <item name="android:scrollbars">none</item> - <item name="fastScrollEnabled">true</item> - <item name="fastScrollHorizontalThumbDrawable">?attr/scrollbar_thumb</item> - <item name="fastScrollHorizontalTrackDrawable">@drawable/scrollbar_track</item> - <item name="fastScrollVerticalThumbDrawable">?attr/scrollbar_thumb</item> - <item name="fastScrollVerticalTrackDrawable">@drawable/scrollbar_track</item> - </style> - - <style name="Widget.AntennaPod.ActionBar" parent="Widget.Material3.Light.ActionBar.Solid"> - <item name="background">?android:attr/colorBackground</item> - <item name="elevation">0dp</item> - </style> - - <style name="AddPodcastTextView"> - <item name="android:drawablePadding">8dp</item> - <item name="android:paddingTop">8dp</item> - <item name="android:paddingBottom">8dp</item> - <item name="android:background">?android:attr/selectableItemBackground</item> - <item name="android:textColor">?android:attr/textColorPrimary</item> - <item name="android:clickable">true</item> - </style> - - <style name="TextPill"> - <item name="android:background">@drawable/bg_pill_translucent</item> - <item name="android:layout_margin">8dp</item> - <item name="android:textColor">@color/white</item> - <item name="android:textAlignment">center</item> - <item name="android:paddingStart">8dp</item> - <item name="android:paddingEnd">8dp</item> - </style> - - <style name="AppPreferenceThemeOverlay" parent="@style/PreferenceThemeOverlay"> - <item name="switchPreferenceCompatStyle">@style/AppSwitchPreference</item> - </style> - - <style name="AppSwitchPreference" parent="@style/Preference.SwitchPreferenceCompat.Material"> - <item name="widgetLayout">@layout/preference_material_switch</item> - </style> - -</resources> |