Initial v4
This commit is contained in:
30
app/src/main/res/xml/paths.xml
Normal file
30
app/src/main/res/xml/paths.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<!--
|
||||
~ 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/>.
|
||||
~
|
||||
-->
|
||||
|
||||
<paths>
|
||||
<files-path
|
||||
name="files"
|
||||
path="." />
|
||||
<cache-path
|
||||
name="cache"
|
||||
path="." />
|
||||
<external-path
|
||||
name="external_files"
|
||||
path="." />
|
||||
</paths>
|
||||
33
app/src/main/res/xml/preferences_download.xml
Normal file
33
app/src/main/res/xml/preferences_download.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<!--
|
||||
~ 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">
|
||||
|
||||
<SeekBarPreference
|
||||
android:defaultValue="3"
|
||||
android:key="PREFERENCE_DOWNLOAD_ACTIVE"
|
||||
android:max="12"
|
||||
android:summary="@string/pref_downloader_active_summary"
|
||||
android:title="@string/pref_downloader_active_title"
|
||||
app:adjustable="true"
|
||||
app:iconSpaceReserved="false"
|
||||
app:min="1"
|
||||
app:showSeekBarValue="true" />
|
||||
</androidx.preference.PreferenceScreen>
|
||||
35
app/src/main/res/xml/preferences_filter.xml
Normal file
35
app/src/main/res/xml/preferences_filter.xml
Normal file
@@ -0,0 +1,35 @@
|
||||
<!--
|
||||
~ 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">
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_FILTER_GOOGLE"
|
||||
app:summary="@string/pref_filter_google_summary"
|
||||
app:title="@string/pref_filter_google_title" />
|
||||
|
||||
<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" />
|
||||
</PreferenceScreen>
|
||||
58
app/src/main/res/xml/preferences_installation.xml
Normal file
58
app/src/main/res/xml/preferences_installation.xml
Normal file
@@ -0,0 +1,58 @@
|
||||
<!--
|
||||
~ 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">
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="false"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isPreferenceVisible="false"
|
||||
app:key="PREFERENCE_AUTO_INSTALL"
|
||||
app:summary="@string/pref_install_auto_summary"
|
||||
app:title="@string/pref_install_auto_title" />
|
||||
|
||||
<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" />
|
||||
|
||||
<com.aurora.store.view.custom.preference.AuroraListPreference
|
||||
app:defaultValue="0"
|
||||
app:entries="@array/pref_installation_method"
|
||||
app:entryValues="@array/pref_installation_method_values"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_INSTALLER_ID"
|
||||
app:summary="@string/pref_install_mode_summary"
|
||||
app:title="@string/pref_install_mode_title" />
|
||||
|
||||
<Preference
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="INSTALLATION_ABANDON_SESSION"
|
||||
app:summary="@string/pref_abandon_session_desc"
|
||||
app:title="@string/pref_abandon_session" />
|
||||
|
||||
<ListPreference
|
||||
app:defaultValue="0"
|
||||
app:iconSpaceReserved="false"
|
||||
app:isPreferenceVisible="false"
|
||||
app:key="INSTALLATION_PROFILE"
|
||||
app:summary="@string/pref_install_profile_summary"
|
||||
app:title="@string/pref_install_profile_title" />
|
||||
</androidx.preference.PreferenceScreen>
|
||||
51
app/src/main/res/xml/preferences_main.xml
Normal file
51
app/src/main/res/xml/preferences_main.xml
Normal file
@@ -0,0 +1,51 @@
|
||||
<!--
|
||||
~ 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:fragment="com.aurora.store.view.ui.preferences.FilterPreference"
|
||||
app:icon="@drawable/ic_filter"
|
||||
app:key="pref_filter"
|
||||
app:layout="@layout/item_preference"
|
||||
app:title="@string/action_filter" />
|
||||
|
||||
<Preference
|
||||
app:fragment="com.aurora.store.view.ui.preferences.InstallationPreference"
|
||||
app:icon="@drawable/ic_installation"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_install"
|
||||
app:layout="@layout/item_preference"
|
||||
app:title="@string/title_installation" />
|
||||
|
||||
<Preference
|
||||
app:fragment="com.aurora.store.view.ui.preferences.UIPreference"
|
||||
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:fragment="com.aurora.store.view.ui.preferences.DownloadPreference"
|
||||
app:icon="@drawable/ic_download_manager"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="pref_ui"
|
||||
app:layout="@layout/item_preference"
|
||||
app:title="@string/pref_app_download" />
|
||||
</PreferenceScreen>
|
||||
39
app/src/main/res/xml/preferences_ui.xml
Normal file
39
app/src/main/res/xml/preferences_ui.xml
Normal file
@@ -0,0 +1,39 @@
|
||||
<!--
|
||||
~ 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">
|
||||
|
||||
<com.aurora.store.view.custom.preference.AuroraListPreference
|
||||
app:defaultValue="0"
|
||||
app:entries="@array/pref_themes"
|
||||
app:entryValues="@array/pref_themes_values"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_THEME_TYPE"
|
||||
app:title="@string/pref_ui_theme_title"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
|
||||
<com.aurora.store.view.custom.preference.AuroraListPreference
|
||||
app:defaultValue="1"
|
||||
app:entries="@array/pref_accent"
|
||||
app:entryValues="@array/pref_accent_values"
|
||||
app:iconSpaceReserved="false"
|
||||
app:key="PREFERENCE_THEME_ACCENT"
|
||||
app:title="@string/pref_ui_theme_title"
|
||||
app:useSimpleSummaryProvider="true" />
|
||||
</androidx.preference.PreferenceScreen>
|
||||
Reference in New Issue
Block a user