Support for sources from different languages
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.v7.preference.PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orderingFromXml="true">
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="pref_category_source_accounts"
|
||||
android:title="Sources"
|
||||
android:persistent="false"/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="pref_category_manga_sync_accounts"
|
||||
android:title="Sync"
|
||||
android:persistent="false"/>
|
||||
|
||||
</android.support.v7.preference.PreferenceScreen>
|
||||
@@ -21,15 +21,4 @@
|
||||
android:title="@string/pref_update_only_non_completed"
|
||||
android:defaultValue="false"/>
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:key="@string/pref_auto_update_manga_sync_key"
|
||||
android:title="@string/pref_auto_update_manga_sync"
|
||||
android:defaultValue="true"/>
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:key="@string/pref_ask_update_manga_sync_key"
|
||||
android:title="@string/pref_ask_update_manga_sync"
|
||||
android:defaultValue="false"
|
||||
android:dependency="@string/pref_auto_update_manga_sync_key"/>
|
||||
|
||||
</android.support.v7.preference.PreferenceScreen>
|
||||
@@ -16,11 +16,16 @@
|
||||
android:key="@string/pref_category_downloads_key"
|
||||
android:persistent="false"
|
||||
android:title="@string/pref_category_downloads" />
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_category_sources_key"
|
||||
android:persistent="false"
|
||||
android:title="@string/pref_category_sources" />
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_category_accounts_key"
|
||||
android:key="@string/pref_category_sync_key"
|
||||
android:persistent="false"
|
||||
android:title="@string/pref_category_accounts" />
|
||||
android:title="@string/pref_category_sync" />
|
||||
|
||||
<Preference
|
||||
android:key="@string/pref_category_advanced_key"
|
||||
|
||||
16
app/src/main/res/xml/pref_sources.xml
Normal file
16
app/src/main/res/xml/pref_sources.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.v7.preference.PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orderingFromXml="true">
|
||||
|
||||
<MultiSelectListPreference
|
||||
android:key="@string/pref_source_languages"
|
||||
android:title="@string/languages"
|
||||
android:summary="@string/languages_summary"/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="pref_sources"
|
||||
android:persistent="false"
|
||||
android:title="@string/accounts"/>
|
||||
|
||||
</android.support.v7.preference.PreferenceScreen>
|
||||
22
app/src/main/res/xml/pref_sync.xml
Normal file
22
app/src/main/res/xml/pref_sync.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<android.support.v7.preference.PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orderingFromXml="true">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:key="@string/pref_auto_update_manga_sync_key"
|
||||
android:title="@string/pref_auto_update_manga_sync"
|
||||
android:defaultValue="true"/>
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
android:key="@string/pref_ask_update_manga_sync_key"
|
||||
android:title="@string/pref_ask_update_manga_sync"
|
||||
android:defaultValue="false"
|
||||
android:dependency="@string/pref_auto_update_manga_sync_key"/>
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="pref_category_manga_sync_accounts"
|
||||
android:title="@string/services"
|
||||
android:persistent="false"/>
|
||||
|
||||
</android.support.v7.preference.PreferenceScreen>
|
||||
Reference in New Issue
Block a user