legacy: remove XML layouts, menus and preference graphs
Deletes res/layout/*, res/menu/*, the mobile_navigation graph, preference_*.xml screens, and the fade in/out anims plus the material-switch color selector. The Compose screens own all of this rendering now.
This commit is contained in:
@@ -1,47 +0,0 @@
|
||||
<!--
|
||||
~ 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:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<Preference
|
||||
app:defaultValue="0"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_INSTALLER_ID"
|
||||
app:summary="@string/pref_install_mode_summary"
|
||||
app:title="@string/pref_install_mode_title" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:iconSpaceReserved="false"
|
||||
app:singleLineTitle="false"
|
||||
app:title="@string/pref_common_extra" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="true"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_AUTO_DELETE"
|
||||
app:summary="@string/pref_install_delete_summary"
|
||||
app:title="@string/pref_install_delete_title" />
|
||||
|
||||
<Preference
|
||||
app:iconSpaceReserved="false"
|
||||
app:isPreferenceVisible="false"
|
||||
app:key="PREFERENCE_INSTALLATION_DEVICE_OWNER"
|
||||
app:summary="@string/pref_clear_device_owner_summary"
|
||||
app:title="@string/pref_clear_device_owner_title" />
|
||||
</androidx.preference.PreferenceScreen>
|
||||
@@ -1,57 +0,0 @@
|
||||
<!--
|
||||
~ 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/>.
|
||||
~
|
||||
-->
|
||||
|
||||
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<Preference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_DISPENSER_URLS"
|
||||
app:summary="@string/pref_dispenser_summary"
|
||||
app:title="@string/pref_dispenser_title" />
|
||||
|
||||
<Preference
|
||||
app:disableDependentsState="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_PROXY_URL"
|
||||
app:summary="@string/pref_network_proxy_desc"
|
||||
app:title="@string/pref_network_proxy_url" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:iconSpaceReserved="false"
|
||||
app:singleLineTitle="false"
|
||||
app:title="@string/pref_common_extra" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="true"
|
||||
app:disableDependentsState="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isPreferenceVisible="false"
|
||||
app:key="PREFERENCE_MICROG_AUTH"
|
||||
app:summary="@string/pref_network_microg_login_desc"
|
||||
app:title="@string/pref_network_microg_login_title" />
|
||||
|
||||
<com.aurora.store.view.custom.preference.AuroraListPreference
|
||||
app:defaultValue="0"
|
||||
app:entries="@array/pref_vending_version"
|
||||
app:entryValues="@array/pref_vending_version_values"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_VENDING_VERSION"
|
||||
app:title="@string/pref_vending_version_title"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
</PreferenceScreen>
|
||||
@@ -1,56 +0,0 @@
|
||||
<!--
|
||||
~ 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/>.
|
||||
~
|
||||
-->
|
||||
|
||||
<PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<Preference
|
||||
app:icon="@drawable/ic_list_check"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_perms"
|
||||
app:layout="@layout/item_preference"
|
||||
app:title="@string/onboarding_title_permissions" />
|
||||
|
||||
<Preference
|
||||
app:icon="@drawable/ic_installation"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_install"
|
||||
app:layout="@layout/item_preference"
|
||||
app:title="@string/title_installation" />
|
||||
|
||||
<Preference
|
||||
app:icon="@drawable/ic_ui"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_ui"
|
||||
app:layout="@layout/item_preference"
|
||||
app:title="@string/pref_ui_title" />
|
||||
|
||||
<Preference
|
||||
app:icon="@drawable/ic_network"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_network"
|
||||
app:layout="@layout/item_preference"
|
||||
app:title="@string/pref_network_title" />
|
||||
|
||||
<Preference
|
||||
app:icon="@drawable/ic_updates"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_updates"
|
||||
app:layout="@layout/item_preference"
|
||||
app:title="@string/title_updates" />
|
||||
</PreferenceScreen>
|
||||
@@ -1,52 +0,0 @@
|
||||
<!--
|
||||
~ 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:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<Preference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_APP_LANGUAGE"
|
||||
app:title="@string/app_language" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:iconSpaceReserved="false"
|
||||
app:singleLineTitle="false"
|
||||
app:title="@string/pref_ui_layout" />
|
||||
|
||||
<com.aurora.store.view.custom.preference.AuroraListPreference
|
||||
app:defaultValue="0"
|
||||
app:entries="@array/pref_default_tab"
|
||||
app:entryValues="@array/pref_default_tab_values"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_DEFAULT_SELECTED_TAB"
|
||||
app:title="@string/pref_ui_layout_tab"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:iconSpaceReserved="false"
|
||||
app:singleLineTitle="false"
|
||||
app:title="@string/pref_common_extra" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="true"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_FOR_YOU"
|
||||
app:summary="@string/pref_ui_no_for_you_desc"
|
||||
app:title="@string/pref_ui_no_for_you" />
|
||||
</androidx.preference.PreferenceScreen>
|
||||
@@ -1,80 +0,0 @@
|
||||
<!--
|
||||
~ 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">
|
||||
|
||||
<com.aurora.store.view.custom.preference.AuroraListPreference
|
||||
app:defaultValue="2"
|
||||
app:entries="@array/pref_updates_auto"
|
||||
app:entryValues="@array/pref_updates_auto_values"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_UPDATES_AUTO"
|
||||
app:summary="@string/pref_updates_auto_desc"
|
||||
app:title="@string/pref_updates_auto" />
|
||||
|
||||
<SeekBarPreference
|
||||
android:defaultValue="3"
|
||||
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" />
|
||||
|
||||
<Preference
|
||||
app:disableDependentsState="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCES_UPDATES_RESTRICTIONS"
|
||||
app:summary="@string/pref_updates_restrictions_desc"
|
||||
app:title="@string/pref_updates_restrictions_title" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:iconSpaceReserved="false"
|
||||
app:singleLineTitle="false"
|
||||
app:title="@string/pref_updates_app_source" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="true"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_FILTER_FDROID"
|
||||
app:summary="@string/pref_filter_fdroid_summary"
|
||||
app:title="@string/pref_filter_fdroid_title" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_FILTER_AURORA_ONLY"
|
||||
app:summary="@string/pref_aurora_only_desc"
|
||||
app:title="@string/pref_aurora_only" />
|
||||
|
||||
<PreferenceCategory
|
||||
app:iconSpaceReserved="false"
|
||||
app:singleLineTitle="false"
|
||||
app:title="@string/pref_common_advanced" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_UPDATES_EXTENDED"
|
||||
app:summary="@string/pref_updates_incompatible_desc"
|
||||
app:title="@string/pref_updates_incompatible" />
|
||||
</androidx.preference.PreferenceScreen>
|
||||
Reference in New Issue
Block a user