Add preference activity.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-12-29 14:30:04 +01:00
parent 968edfbb67
commit 3b7b71ce77
13 changed files with 211 additions and 31 deletions

View File

@@ -0,0 +1,25 @@
<resources>
<!-- Theme Preference -->
<string-array name="theme_entries">
<item>@string/dark</item>
<item>@string/light</item>
<item>@string/android_default_text</item>
</string-array>
<string-array name="theme_values">
<item>dark</item>
<item>light</item>
<item>default</item>
</string-array>
<!-- Language Preference -->
<string-array name="language_entries">
<item>@string/german</item>
<item>@string/english</item>
</string-array>
<string-array name="language_values">
<item>german</item>
<item>english</item>
</string-array>
</resources>

View File

@@ -18,4 +18,21 @@
<string name="german">German</string>
<string name="light">Light</string>
<string name="dark">Dark</string>
<string name="title_activity_settings">SettingsActivity</string>
<!-- Preference Titles -->
<string name="messages_header">Messages</string>
<string name="sync_header">Sync</string>
<!-- Messages Preferences -->
<string name="signature_title">Your signature</string>
<string name="reply_title">Theme</string>
<!-- Sync Preferences -->
<string name="sync_title">Sync email periodically</string>
<string name="attachment_title">Download incoming attachments</string>
<string name="attachment_summary_on">Automatically download attachments for incoming emails
</string>
<string name="attachment_summary_off">Only download attachments when manually requested</string>
<string name="settings">Settings</string>
</resources>

View File

@@ -1,6 +1,6 @@
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.DayNight">
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
@@ -9,7 +9,7 @@
</style>
<style name="AppTheme.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowActionBar">true</item>
<item name="windowNoTitle">true</item>
</style>