mirror of
https://github.com/gsantner/dandelion
synced 2025-12-16 17:21:10 +01:00
SQUASH
Rewrote ThemedSettings by inheriting Preference classes Fixed issues pointed out by gsantner Added back circle color picker preview to Settings and reflect color changes immediatelly :D Removed some debug messages and unified usage of Themeable
This commit is contained in:
parent
6ad634cc5b
commit
b9221099c2
20 changed files with 677 additions and 388 deletions
18
app/src/main/res/xml/preferences__sub_themes.xml
Normal file
18
app/src/main/res/xml/preferences__sub_themes.xml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory
|
||||
android:key="@string/pref_key__title__themes"
|
||||
android:title="@string/pref_title__themes">
|
||||
<com.github.dfa.diaspora_android.ui.ThemedColorPickerPreference
|
||||
android:key="@string/pref_key__primary_color__preference_click"
|
||||
android:summary="@string/pref_desc__primary_color"
|
||||
android:title="@string/pref_title__primary_color"
|
||||
android:icon="@drawable/circle" />
|
||||
|
||||
<com.github.dfa.diaspora_android.ui.ThemedColorPickerPreference
|
||||
android:key="@string/pref_key__accent_color__preference_click"
|
||||
android:summary="@string/pref_desc__accent_color"
|
||||
android:title="@string/pref_title__accent_color"
|
||||
android:icon="@drawable/circle" />
|
||||
</com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
Loading…
Add table
Add a link
Reference in a new issue