Add theme setting
This prepares that different themes can be added. Currently light and dark will just use the default OK theme.
This commit is contained in:
10
OpenKeychain/src/main/res/xml/gui_preferences.xml
Normal file
10
OpenKeychain/src/main/res/xml/gui_preferences.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<ListPreference
|
||||
android:persistent="false"
|
||||
android:key="theme"
|
||||
android:title="@string/label_theme"
|
||||
android:entries="@array/theme_entries"
|
||||
android:entryValues="@array/theme_values"
|
||||
android:dialogTitle="@string/label_theme" />
|
||||
|
||||
</PreferenceScreen>
|
||||
@@ -1,4 +1,7 @@
|
||||
<preference-headers xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<header
|
||||
android:fragment="org.sufficientlysecure.keychain.ui.SettingsActivity$GuiPrefsFragment"
|
||||
android:title="@string/section_gui" />
|
||||
<header
|
||||
android:fragment="org.sufficientlysecure.keychain.ui.SettingsActivity$CloudSearchPrefsFragment"
|
||||
android:title="@string/section_cloud_search" />
|
||||
|
||||
Reference in New Issue
Block a user