mirror of
https://github.com/gsantner/dandelion
synced 2025-12-12 23:31:10 +01:00
BIG REFACTORING - 0.1.6-next edition
This commit is contained in:
parent
e239f519e4
commit
b7ca97208a
103 changed files with 555 additions and 1015 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- Appearance -->
|
||||
<com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
|
||||
android:key="@string/pref_key__title__appearance"
|
||||
android:title="@string/pref_cat__visuals">
|
||||
|
||||
|
|
@ -23,34 +23,34 @@
|
|||
android:summary="%s"
|
||||
android:title="@string/pref_title__font_size"/>
|
||||
|
||||
<com.github.dfa.diaspora_android.ui.ThemedCheckBoxPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="@string/pref_key__intellihide_toolbars"
|
||||
android:summary="@string/pref_desc__intellihide_toolbars"
|
||||
android:title="@string/pref_title__intellihide_toolbars"/>
|
||||
|
||||
<com.github.dfa.diaspora_android.ui.ThemedCheckBoxPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/pref_key__extended_notifications"
|
||||
android:summary="@string/pref_desc__extended_notifications"
|
||||
android:title="@string/pref_title__extended_notifications"/>
|
||||
|
||||
<com.github.dfa.diaspora_android.ui.ThemedCheckBoxPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="@string/pref_key__append_shared_via_app"
|
||||
android:summary="@string/pref_desc__append_shared_via_app"
|
||||
android:title="@string/pref_title__append_shared_via_app"/>
|
||||
|
||||
<com.github.dfa.diaspora_android.ui.ThemedCheckBoxPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="@string/pref_key__chrome_custom_tabs_enabled"
|
||||
android:summary="@string/pref_desc__chrome_custom_tabs_enabled"
|
||||
android:title="@string/pref_title__chrome_custom_tabs_enabled"/>
|
||||
|
||||
</com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory>
|
||||
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
|
||||
|
||||
<!-- Diaspora Pod Settings -->
|
||||
<com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
|
||||
android:key="@string/pref_key__title__pod_settings"
|
||||
android:title="@string/pref_cat__pod_settings">
|
||||
<Preference
|
||||
|
|
@ -72,13 +72,13 @@
|
|||
android:key="@string/pref_key__change_account"
|
||||
android:summary="@string/pref_desc__change_account"
|
||||
android:title="@string/pref_title__change_account"/>
|
||||
</com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory>
|
||||
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
|
||||
|
||||
<!-- Networking -->
|
||||
<com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
|
||||
android:key="@string/pref_key__title__network"
|
||||
android:title="@string/pref_cat__network">
|
||||
<com.github.dfa.diaspora_android.ui.ThemedCheckBoxPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="@string/pref_key__load_images"
|
||||
android:summary="@string/pref_desc__load_images"
|
||||
|
|
@ -94,10 +94,10 @@
|
|||
android:summary="@string/pref_desc__sub_proxy"
|
||||
android:title="@string/pref_title__sub_proxy" />
|
||||
|
||||
</com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory>
|
||||
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
|
||||
|
||||
<!-- More -->
|
||||
<com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
|
||||
android:key="@string/pref_key__title__more"
|
||||
android:title="@string/pref_cat__more">
|
||||
|
||||
|
|
@ -106,5 +106,5 @@
|
|||
android:summary="@string/pref_desc__sub_logging"
|
||||
android:title="@string/pref_title__sub_logging" />
|
||||
|
||||
</com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory>
|
||||
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
|
@ -1,16 +1,16 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
|
||||
android:key="@string/pref_key__title__debugging"
|
||||
android:title="@string/pref_title__sub_logging">
|
||||
|
||||
<com.github.dfa.diaspora_android.ui.ThemedCheckBoxPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
|
||||
android:defaultValue="true"
|
||||
android:key="@string/pref_key__logging_enabled"
|
||||
android:title="@string/pref_title__logging_enabled"/>
|
||||
<com.github.dfa.diaspora_android.ui.ThemedCheckBoxPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/pref_key__logging_spam_enabled"
|
||||
android:title="@string/pref_title__logging_spam_enabled"/>
|
||||
</com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory>
|
||||
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
|
@ -1,54 +1,54 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
|
||||
android:key="@string/pref_key__title__visibility_nav"
|
||||
android:title="@string/pref_cat__visibility_nav_items">
|
||||
|
||||
<com.github.dfa.diaspora_android.ui.ThemedVisibilityPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedVisibilityPreference
|
||||
android:defaultValue="true"
|
||||
android:key="@string/pref_key__visibility_nav__profile"
|
||||
android:title="@string/nav_profile"/>
|
||||
<com.github.dfa.diaspora_android.ui.ThemedVisibilityPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedVisibilityPreference
|
||||
android:defaultValue="true"
|
||||
android:key="@string/pref_key__visibility_nav__followed_tags"
|
||||
android:title="@string/nav_followed_tags"/>
|
||||
<com.github.dfa.diaspora_android.ui.ThemedVisibilityPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedVisibilityPreference
|
||||
android:defaultValue="true"
|
||||
android:key="@string/pref_key__visibility_nav__aspects"
|
||||
android:title="@string/nav_aspects"/>
|
||||
<com.github.dfa.diaspora_android.ui.ThemedVisibilityPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedVisibilityPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/pref_key__visibility_nav__contacts"
|
||||
android:title="@string/nav_contacts" />
|
||||
<com.github.dfa.diaspora_android.ui.ThemedVisibilityPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedVisibilityPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/pref_key__visibility_nav__activities"
|
||||
android:title="@string/nav_activities"/>
|
||||
<com.github.dfa.diaspora_android.ui.ThemedVisibilityPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedVisibilityPreference
|
||||
android:defaultValue="true"
|
||||
android:key="@string/pref_key__visibility_nav__liked"
|
||||
android:title="@string/nav_liked"/>
|
||||
<com.github.dfa.diaspora_android.ui.ThemedVisibilityPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedVisibilityPreference
|
||||
android:defaultValue="true"
|
||||
android:key="@string/pref_key__visibility_nav__commented"
|
||||
android:title="@string/nav_commented"/>
|
||||
<com.github.dfa.diaspora_android.ui.ThemedVisibilityPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedVisibilityPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/pref_key__visibility_nav__mentions"
|
||||
android:title="@string/nav_mentions"/>
|
||||
<com.github.dfa.diaspora_android.ui.ThemedVisibilityPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedVisibilityPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/pref_key__visibility_nav__public_activities"
|
||||
android:title="@string/nav_public_activities"/>
|
||||
<com.github.dfa.diaspora_android.ui.ThemedVisibilityPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedVisibilityPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/pref_key__visibility_nav__exit"
|
||||
android:title="@string/action_exit_app"/>
|
||||
<com.github.dfa.diaspora_android.ui.ThemedVisibilityPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedVisibilityPreference
|
||||
android:defaultValue="true"
|
||||
android:key="@string/pref_key__visibility_nav__help_license"
|
||||
android:title="@string/nav_help_license"/>
|
||||
|
||||
</com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory>
|
||||
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
|
||||
android:key="@string/pref_key__title__proxy"
|
||||
android:title="@string/HTTP">
|
||||
<com.github.dfa.diaspora_android.ui.ThemedCheckBoxPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedCheckBoxPreference
|
||||
android:defaultValue="false"
|
||||
android:key="@string/pref_key__http_proxy_enabled"
|
||||
android:summary="@string/pref_desc__http_proxy_enabled"
|
||||
|
|
@ -27,5 +27,5 @@
|
|||
android:summary="@string/pref_desc__http_proxy_load_tor_preset"
|
||||
android:title="@string/pref_title__http_proxy_load_tor_preset"/>
|
||||
|
||||
</com.github.dfa.diaspora_android.ui.ThemedPreferenceCategory>
|
||||
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
|
|
|||
|
|
@ -1,18 +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
|
||||
<com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory
|
||||
android:key="@string/pref_key__title__themes"
|
||||
android:title="@string/pref_title__themes">
|
||||
<com.github.dfa.diaspora_android.ui.ThemedColorPickerPreference
|
||||
<com.github.dfa.diaspora_android.ui.theme.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
|
||||
<com.github.dfa.diaspora_android.ui.theme.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>
|
||||
</com.github.dfa.diaspora_android.ui.theme.ThemedPreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
Loading…
Add table
Add a link
Reference in a new issue