Fixed getting same notifications for different accounts (for real this time). Add a settings acivity but with no use now. Minor bugs fixed. Minor UI tweaks.

This commit is contained in:
Alex Ning
2019-08-21 16:21:17 +08:00
parent 029bbc951b
commit 9bad5024ff
28 changed files with 424 additions and 40 deletions

View File

@@ -0,0 +1,33 @@
<resources>
<string-array name="settings_notification_interval">
<item>1 hour</item>
<item>2 hours</item>
<item>3 hours</item>
<item>4 hours</item>
<item>6 hours</item>
<item>12 hours</item>
<item>1 day</item>
</string-array>
<string-array name="settings_notification_interval_values">
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>6</item>
<item>12</item>
<item>24</item>
</string-array>
<string-array name="settings_theme">
<item>Light Theme</item>
<item>Dark Theme</item>
<item>Device Default</item>
</string-array>
<string-array name="settings_theme_values">
<item>0</item>
<item>1</item>
<item>2</item>
</string-array>
</resources>

View File

@@ -13,7 +13,8 @@
<string name="search_subreddits_activity_label">Subreddits</string>
<string name="edit_post_activity_label">Edit Post</string>
<string name="edit_comment_activity_label">Edit Comment</string>
<string name="view_message_activity">Inbox</string>
<string name="view_message_activity_label">Inbox</string>
<string name="settings_activity_label">Settings</string>
<string name="navigation_drawer_open">Open navigation drawer</string>
<string name="navigation_drawer_close">Close navigation drawer</string>
@@ -239,4 +240,14 @@
<string name="label_post">Post</string>
<string name="account_switched">Account Switched. So all other pages are gone.</string>
<string name="settings_account_master_title">Account</string>
<string name="settings_notification_master_title">Notification</string>
<string name="settings_notification_enable_notification_title">Enable Notifications</string>
<string name="settings_notification_interval_title">Check Notifications Interval</string>
<string name="settings_theme_title">Theme</string>
<string name="settings_theme_light__theme_summary">Light Theme</string>
<string name="settings_theme_dark_theme_summary">Dark Theme</string>
<string name="settings_theme_system_default_summary">Device default</string>
<string name="settings_enable_nsfw_title">Enable NSFW</string>
</resources>

View File

@@ -60,4 +60,8 @@
<item name="android:textColor">@color/primaryTextColor</item>
</style>
<style name="PreferenceActivityTheme" parent="AppTheme.NoActionBar">
<item name="android:textColorPrimary">@color/primaryTextColor</item>
</style>
</resources>