Files
APKDownloader/app/src/main/res/xml/preferences_updates.xml
2023-11-21 19:08:57 +05:30

58 lines
2.2 KiB
XML

<!--
~ Aurora Store
~ Copyright (C) 2021, Rahul Kumar Patel <whyorean@gmail.com>
~
~ Aurora Store is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 2 of the License, or
~ (at your option) any later version.
~
~ Aurora Store is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with Aurora Store. If not, see <http://www.gnu.org/licenses/>.
~
-->
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="PREFERENCE_SELF_UPDATE"
app:singleLineTitle="false"
app:summary="@string/pref_self_update_summary"
app:title="@string/pref_self_update_title" />
<SwitchPreferenceCompat
app:defaultValue="false"
app:iconSpaceReserved="false"
app:key="PREFERENCE_UPDATES_EXTENDED"
app:summary="@string/pref_updates_extended_desc"
app:title="@string/pref_updates_extended" />
<SwitchPreferenceCompat
app:defaultValue="true"
app:disableDependentsState="false"
app:iconSpaceReserved="false"
app:key="PREFERENCE_UPDATES_CHECK"
app:summary="@string/pref_updates_check_desc"
app:title="@string/pref_updates_check" />
<SeekBarPreference
android:defaultValue="3"
android:dependency="PREFERENCE_UPDATES_CHECK"
android:key="PREFERENCE_UPDATES_CHECK_INTERVAL"
android:max="24"
android:summary="@string/pref_updates_check_frequency_desc"
android:title="@string/pref_updates_check_frequency"
app:adjustable="true"
app:iconSpaceReserved="false"
app:min="1"
app:showSeekBarValue="true" />
</androidx.preference.PreferenceScreen>