Removed misc settings
This commit is contained in:
parent
8ad9ef6c19
commit
5a2dca2840
|
@ -143,8 +143,6 @@ public class PreferenceActivity extends AppCompatActivity {
|
|||
return R.string.user_interface_label;
|
||||
case R.xml.preferences_services:
|
||||
return R.string.services_label;
|
||||
case R.xml.preferences_miscellaneous:
|
||||
return R.string.miscellaneous_pref;
|
||||
default:
|
||||
return R.string.settings_label;
|
||||
}
|
||||
|
|
|
@ -79,7 +79,6 @@ public class PreferenceController implements SharedPreferences.OnSharedPreferenc
|
|||
private static final String PREF_SCREEN_DOWNLOADS = "prefScreenDownloads";
|
||||
private static final String PREF_SCREEN_SERVICES = "prefScreenServices";
|
||||
private static final String PREF_SCREEN_STORAGE = "prefScreenStorage";
|
||||
private static final String PREF_SCREEN_MISCELLANEOUS = "prefScreenMiscellaneous";
|
||||
|
||||
private static final String PREF_FLATTR_SETTINGS = "prefFlattrSettings";
|
||||
private static final String PREF_FLATTR_AUTH = "pref_flattr_authenticate";
|
||||
|
@ -155,8 +154,6 @@ public class PreferenceController implements SharedPreferences.OnSharedPreferenc
|
|||
openScreen(R.xml.preferences_services, activity));
|
||||
ui.findPreference(PREF_SCREEN_STORAGE).setOnPreferenceClickListener(preference ->
|
||||
openScreen(R.xml.preferences_storage, activity));
|
||||
ui.findPreference(PREF_SCREEN_MISCELLANEOUS).setOnPreferenceClickListener(preference ->
|
||||
openScreen(R.xml.preferences_miscellaneous, activity));
|
||||
}
|
||||
/*
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN) {
|
||||
|
|
|
@ -28,9 +28,9 @@
|
|||
android:icon="@drawable/ic_filter_grey600_24dp" />
|
||||
|
||||
<Preference
|
||||
android:key="prefScreenMiscellaneous"
|
||||
android:title="@string/miscellaneous_pref"
|
||||
android:icon="@drawable/ic_cast_disconnect_grey600_36dp" />
|
||||
android:key="statistics"
|
||||
android:title="@string/statistics_label"
|
||||
android:icon="@drawable/stat_notify_sync" />
|
||||
|
||||
<PreferenceCategory android:title="@string/project_pref">
|
||||
<Preference
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<Preference
|
||||
android:key="statistics"
|
||||
android:title="@string/statistics_label"/>
|
||||
|
||||
<PreferenceCategory android:title="@string/experimental_pref">
|
||||
<de.danoeh.antennapod.preferences.SwitchCompatPreference
|
||||
android:defaultValue="false"
|
||||
android:enabled="true"
|
||||
android:key="prefCast"
|
||||
android:summary="@string/pref_cast_message"
|
||||
android:title="@string/pref_cast_title"/>
|
||||
|
||||
<Preference
|
||||
android:key="importExport"
|
||||
android:title="@string/import_export"/>
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
|
@ -108,4 +108,13 @@
|
|||
android:summary="@string/pref_sonic_message"
|
||||
android:title="@string/pref_sonic_title"/>
|
||||
</PreferenceCategory>
|
||||
|
||||
<PreferenceCategory android:title="@string/experimental_pref">
|
||||
<de.danoeh.antennapod.preferences.SwitchCompatPreference
|
||||
android:defaultValue="false"
|
||||
android:enabled="true"
|
||||
android:key="prefCast"
|
||||
android:summary="@string/pref_cast_message"
|
||||
android:title="@string/pref_cast_title"/>
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
|
|
@ -36,5 +36,8 @@
|
|||
<Preference
|
||||
android:key="prefHtmlExport"
|
||||
android:title="@string/html_export_label"/>
|
||||
<Preference
|
||||
android:key="importExport"
|
||||
android:title="@string/import_export"/>
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
|
|
|
@ -309,7 +309,6 @@
|
|||
<string name="services_label">Services</string>
|
||||
<string name="flattr_label">Flattr</string>
|
||||
<string name="flattr_summary">Micropayment service</string>
|
||||
<string name="miscellaneous_pref">Miscellaneous</string>
|
||||
<string name="data_usage">Data usage</string>
|
||||
<string name="download_pref_details">Details</string>
|
||||
<string name="import_export_pref">Import/Export</string>
|
||||
|
|
Loading…
Reference in New Issue