aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2023-01-08 17:18:51 -0600
committerIván Ávalos <avalos@disroot.org>2023-01-08 17:18:51 -0600
commit70611143231e01e0ad8cd142150f89fd1a22becd (patch)
treed9d3809e498bf8df23a60b70d55b5ea4f1c6fdda
parentc6879f14223a82f9e67767fd7299606f6d43703a (diff)
downloaddsub-70611143231e01e0ad8cd142150f89fd1a22becd.tar.gz
dsub-70611143231e01e0ad8cd142150f89fd1a22becd.tar.bz2
dsub-70611143231e01e0ad8cd142150f89fd1a22becd.zip
Replace themes with Material 3
-rw-r--r--app/src/main/res/values/themes.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 8cccab93..5f8a00cc 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <style name="Theme.DSub.Light.Base" parent="@style/Theme.AppCompat.Light.DarkActionBar">
+ <style name="Theme.DSub.Light.Base" parent="@style/Theme.Material3.Light">
<item name="offline_icon">@drawable/main_offline_light</item>
<item name="media_button_backward">@drawable/media_backward_light</item>
<item name="media_button_forward">@drawable/media_forward_light</item>
@@ -72,7 +72,7 @@
<item name="cardBackgroundDrawable">@drawable/card_rounded_corners_light</item>
<item name="drawerHeaderBackground">@drawable/drawer_header_light</item>
</style>
- <style name="Theme.DSub.Dark.Base" parent="@style/Theme.AppCompat">
+ <style name="Theme.DSub.Dark.Base" parent="@style/Theme.Material3.Dark">
<item name="offline_icon">@drawable/main_offline_dark</item>
<item name="media_button_backward">@drawable/media_backward_dark</item>
<item name="media_button_forward">@drawable/media_forward_dark</item>
@@ -243,7 +243,7 @@
<style name="DarkSpinnerItem" parent="Widget.AppCompat.TextView.SpinnerItem">
<item name="android:textColor">?android:attr/textColorPrimaryInverse</item>
</style>
- <style name="LightActionMode" parent="@style/Widget.AppCompat.ActionMode">
+ <style name="LightActionMode" parent="@style/Widget.Material3.ActionMode">
<item name="titleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Title.Inverse</item>
<item name="subtitleTextStyle">@style/TextAppearance.AppCompat.Widget.ActionBar.Subtitle.Inverse</item>
</style>