summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/values/style.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-11-28 08:13:17 +0300
committerAndrew Dolgov <[email protected]>2019-11-28 08:13:17 +0300
commit290fe68fc611c7897face796318a83f11ace622c (patch)
tree1a8bbdea95d195ccefb3f7eb604615b00052d3d7 /org.fox.ttrss/src/main/res/values/style.xml
parentd3b537d6a8e960f84256051666e2b5bea72b91cc (diff)
use Theme.DayNight and values-night to implement light/dark theme
GalleryActivity: add all checked images together to prevent pager desync
Diffstat (limited to 'org.fox.ttrss/src/main/res/values/style.xml')
-rwxr-xr-xorg.fox.ttrss/src/main/res/values/style.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/org.fox.ttrss/src/main/res/values/style.xml b/org.fox.ttrss/src/main/res/values/style.xml
index 9121638c..711b62a7 100755
--- a/org.fox.ttrss/src/main/res/values/style.xml
+++ b/org.fox.ttrss/src/main/res/values/style.xml
@@ -1,11 +1,10 @@
<resources xmlns:android="http://schemas.android.com/apk/res/android">
- <style name="LightTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
+ <style name="AppTheme.Base" parent="Theme.AppCompat.DayNight">
<item name="android:windowNoTitle">true</item>
-
</style>
- <style name="LightTheme" parent="LightTheme.Base">
+ <style name="AppTheme" parent="AppTheme.Base">
<item name="windowActionModeOverlay">true</item>
<!-- <item name="statusBarHintColor">?colorPrimary</item> -->
@@ -66,6 +65,7 @@
<item name="drawer_header">@drawable/drawer_header</item>
</style>
+ <!--
<style name="DarkTheme.Base" parent="Theme.AppCompat.NoActionBar">
</style>
@@ -78,10 +78,10 @@
</style>
<style name="DarkTheme" parent="DarkTheme.Base">
- <item name="windowActionModeOverlay">true</item>
+ <item name="windowActionModeOverlay">true</item> -->
<!-- <item name="statusBarHintColor">?colorPrimary</item> -->
- <item name="unreadCounterColor">#909090</item>
+ <!-- <item name="unreadCounterColor">#909090</item>
<item name="feedlistTextColor">@android:color/white</item>
<item name="headlineUnreadTextColor">@android:color/white</item>
<item name="headlineSelectedTextColor">@android:color/white</item>
@@ -136,7 +136,7 @@
<item name="ic_attachment_vert">@drawable/ic_attachment_vert</item>
<item name="drawer_header">@drawable/drawer_header_dark</item>
- </style>
+ </style> -->
<style name="DarkDialogTheme" parent="android:Theme"></style>