<!--
  ~ Aurora Store
  ~ Copyright (C) 2019, 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:app="http://schemas.android.com/apk/res-auto">

    <Preference
        app:key="PREFERENCE_SELF_UPDATE"
        app:summary="@string/pref_update_self_desc"
        app:title="@string/pref_update_self_title" />

    <ListPreference
        app:defaultValue="-1"
        app:entries="@array/pref_update_interval"
        app:entryValues="@array/pref_update_interval_values"
        app:key="PREFERENCE_UPDATES_INTERVAL"
        app:title="@string/pref_update_interval_title"
        app:useSimpleSummaryProvider="true" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="PREFERENCE_UPDATES_AUTO"
        app:summary="@string/pref_updates_auto_desc"
        app:title="@string/pref_updates_auto" />

    <SwitchPreference
        app:defaultValue="false"
        app:key="PREFERENCE_UPDATES_EXTENDED"
        app:summary="@string/pref_updates_extended_desc"
        app:title="@string/pref_updates_extended" />

</androidx.preference.PreferenceScreen>
