40 lines
1.4 KiB
XML
40 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
|
|
<SwitchPreference
|
|
app:defaultValue="false"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/SET_FETCH_HOME"
|
|
app:singleLineTitle="false"
|
|
app:title="@string/set_fetch_home" />
|
|
|
|
<ListPreference
|
|
app:defaultValue="60"
|
|
app:dependency="@string/SET_FETCH_HOME"
|
|
app:dialogTitle="@string/fetch_home_every"
|
|
app:entries="@array/set_notification_delay_values"
|
|
app:entryValues="@array/SET_NOTIFICATION_DELAYS_VALUES"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/SET_FETCH_HOME_DELAY_VALUE"
|
|
app:summary="@string/set_push_notifications_delay"
|
|
app:title="@string/type_of_home_delay_title"
|
|
app:useSimpleSummaryProvider="true" />
|
|
|
|
<Preference
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:title="@string/check_home_cache"
|
|
app:icon="@drawable/baseline_show_chart_24"
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/pref_category_show_data" />
|
|
|
|
|
|
<Preference
|
|
app:iconSpaceReserved="false"
|
|
app:key="@string/SET_KEY_IGNORE_BATTERY_OPTIMIZATIONS"
|
|
app:title="@string/set_remove_battery" />
|
|
|
|
</PreferenceScreen> |