Automation category

This commit is contained in:
ByteHamster 2018-04-22 17:49:20 +02:00
parent 56aa64725c
commit 33e695b519
2 changed files with 14 additions and 10 deletions

View File

@ -4,22 +4,25 @@
xmlns:app="http://schemas.android.com/apk/res-auto"> xmlns:app="http://schemas.android.com/apk/res-auto">
<PreferenceCategory android:title="@string/data_usage"> <PreferenceCategory android:title="@string/data_usage">
<Preference
android:key="prefAutoUpdateIntervall"
android:summary="@string/pref_autoUpdateIntervallOrTime_sum"
android:title="@string/pref_autoUpdateIntervallOrTime_title"/>
<de.danoeh.antennapod.preferences.SwitchCompatPreference
android:defaultValue="false"
android:enabled="true"
android:key="prefMobileUpdate"
android:summary="@string/pref_mobileUpdate_sum"
android:title="@string/pref_mobileUpdate_title"/>
<com.afollestad.materialdialogs.prefs.MaterialEditTextPreference <com.afollestad.materialdialogs.prefs.MaterialEditTextPreference
android:defaultValue="4" android:defaultValue="4"
android:inputType="number" android:inputType="number"
android:key="prefParallelDownloads" android:key="prefParallelDownloads"
android:title="@string/pref_parallel_downloads_title" android:title="@string/pref_parallel_downloads_title"
app:useStockLayout="true"/> app:useStockLayout="true"/>
<de.danoeh.antennapod.preferences.SwitchCompatPreference
android:defaultValue="false"
android:enabled="true"
android:key="prefMobileUpdate"
android:summary="@string/pref_mobileUpdate_sum"
android:title="@string/pref_mobileUpdate_title"/>
</PreferenceCategory>
<PreferenceCategory android:title="@string/automation">
<Preference
android:key="prefAutoUpdateIntervall"
android:summary="@string/pref_autoUpdateIntervallOrTime_sum"
android:title="@string/pref_autoUpdateIntervallOrTime_title"/>
<PreferenceScreen <PreferenceScreen
android:summary="@string/pref_automatic_download_sum" android:summary="@string/pref_automatic_download_sum"
android:key="prefAutoDownloadSettings" android:key="prefAutoDownloadSettings"

View File

@ -315,6 +315,7 @@
<string name="flattr_label">Flattr</string> <string name="flattr_label">Flattr</string>
<string name="flattr_summary">Micropayment service</string> <string name="flattr_summary">Micropayment service</string>
<string name="data_usage">Data usage</string> <string name="data_usage">Data usage</string>
<string name="automation">Automation</string>
<string name="download_pref_details">Details</string> <string name="download_pref_details">Details</string>
<string name="import_export_pref">Import/Export</string> <string name="import_export_pref">Import/Export</string>
<string name="appearance">Appearance</string> <string name="appearance">Appearance</string>