Add ability to change theme

This commit is contained in:
Moez Bhatti
2017-12-03 18:15:36 -05:00
parent a06af741ae
commit e5c897b50c
9 changed files with 111 additions and 20 deletions
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="56dp"
android:layout_height="56dp">
<View
android:id="@+id/theme"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/circle"
tools:backgroundTint="@color/tools_theme" />
</FrameLayout>
+3
View File
@@ -18,9 +18,12 @@
<string name="settings_default_sms_title">Default SMS app</string>
<string name="settings_default_sms_summary_true">QKSMS is your default SMS app</string>
<string name="settings_default_sms_summary_false">Set QKSMS as your default SMS app</string>
<string name="settings_theme_title">Theme</string>
<string name="settings_sync_title">Sync messages</string>
<string name="settings_sync_summary">Re-sync your messages with the native Android SMS database</string>
<string name="settings_dialog_theme_title">Theme</string>
<string name="notification_reply">Reply</string>
<string name="notification_read">Mark read</string>
+4
View File
@@ -5,6 +5,10 @@
android:key="defaultSms"
android:title="@string/settings_default_sms_title" />
<Preference
android:key="theme"
android:title="@string/settings_theme_title" />
<Preference
android:key="sync"
android:summary="@string/settings_sync_summary"