Migrate the preferences to androidx (#373)

* Switch to androidx for settings

* Implement all settings

* Added all pages to settings

* Add toolbar to settings

* Left align all preferences

* Migrate to androidx preference manager

* Migrate settings functions

* Implement dark theme in settings page

* Remove old settings files

* Remove unused resources

Co-authored-by: Amine Bou <510304+aminecmi@users.noreply.github.com>
This commit is contained in:
2021-10-28 20:40:22 +02:00
committed by GitHub
parent 0c88f33981
commit 90242ae801
24 changed files with 350 additions and 605 deletions

View File

@ -1,9 +1,11 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<EditTextPreference
android:inputType="number"
android:key="api_timeout"
android:selectAllOnFocus="true"
android:singleLine="true"
android:title="@string/pref_api_timeout" />
android:title="@string/pref_api_timeout"
app:iconSpaceReserved="false"/>
</PreferenceScreen>