[Enhancement] Move to Native Android preferences
Checklist
- [x] I have written the feature request in English with a clear and descriptive title.
- [x] I confirmed there are no existing feature requests - open or closed - that already suggest this idea.
- [x] I have reviewed the WIKI to ensure the feature does not already exist.
- [x] I have checked the latest GitHub release to confirm the feature hasn't already been added.
- [x] I verified this feature is not already mentioned in the changelogs.
- [x] I clearly explained the feature, its use case, and why it would benefit the project.
- [x] This submission includes only one feature request.
- [x] I understand that vague or poorly explained requests may be closed without further discussion.
- [x] I optionally donated to support the MultiLauncher mission.
Feature description
Hello
I think that moving to native preferences will clearly add readability and consistency to the Android Platform. See screenshot.
I started implementing that in my fork: https://github.com/ChristopheVersieux/mLauncher
What do you think
Additional information
No response
Terms and Conditions
- [x] I have read all the rules above and filled in the requiered fields to the best of my ability.
- [x] I accept that if I fail to follow the rules listed above that i will be blocked from interactions with this project.
👋 Thanks for reporting!
We will get back to you soon about this issue.
Also themed the Feature screen. For me, using system theming would result in way better feeling with the platform for the users
If you wish open a PR and if you finnish all the settings ill consider switching over to it.
This is good for accessibility too, currently i find the text on the settings to be very small and adjusting sliders like fuzzy finder strength to require too much precision for taps
I added Toolbar; correct navigation, and native Android component in my fork, but I have n,ot enough knowledge in Pull requests to provide you with clean code. Feel free to pick what you want in my fork, I also moved the drawer to a bottomsheetFragment, making it way faster to load, and am heavily working on moving most of the code to native Android components to avoid "reinventig the wheel" and make the app with a more natural feeling
https://github.com/ChristopheVersieux/mLauncher/blob/main/local.properties
this file shoudlnt be shared as thats for your system only.
currently i find the text on the settings to be very small
this can be changed within the settings
adjusting sliders like fuzzy finder strength to require too much precision for taps
I am currently looking at adding + and - buttons to sliders
I added Toolbar; correct navigation, and native Android component in my fork, but I have n,ot enough knowledge in Pull requests to provide you with clean code.
All you would need to do is update your fork as its out of date then you would make the changes (without renaming or changing branding) then i could make the PR myself.
Thanks for the feedback! I’m planning a deeper overhaul: switching the drawer to a BottomSheet, moving HomeApps to a RecyclerView, and integrating widgets into the HomeScreen via ViewPager.
I’m currently working on this in a branded fork to experiment with some personal UI preferences, but I’d love to contribute the structural improvements (like the PreferenceFragmentCompat migration) back to this repo.
Since this is my first time collaborating on GitHub, feel free to reach out via email if you have specific preferences on how I should submit these changes. Looking forward to your thoughts!
To keep upstream merges painless, it helps if we leave existing files in place and only use a new folder for files that don’t exist upstream. That way Git can still apply bug fixes automatically, and fork-specific additions stay clearly separated.
@ChristopheVersieux you may wanna do this so that the implementation is the same. you did that for the firebase stuff
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index e91866c4..dd7cc25c 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -162,7 +162,7 @@ dependencies {
implementation(libs.navigation.ui.ktx)
// Preferences
- implementation("androidx.preference:preference-ktx:1.2.1")
+ implementation(libs.preference.ktx)
// Work Manager
implementation(libs.work.runtime.ktx)
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 498d7a53..2951886e 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -3,6 +3,7 @@
[versions]
agp = "8.13.2"
kotlin = "2.2.21"
+preferenceKtx = "1.2.1"
viewpager2 = "1.1.0"
# AndroidX Core and AppCompat
@@ -66,6 +67,7 @@ googleFirebaseCrashlytics = "3.0.6"
# Core Libraries
core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core-ktx" }
appcompat = { group = "androidx.appcompat", name = "appcompat", version.ref = "appcompat" }
+preference-ktx = { module = "androidx.preference:preference-ktx", version.ref = "preferenceKtx" }
recyclerview = { group = "androidx.recyclerview", name = "recyclerview", version.ref = "recyclerview" }
palette-ktx = { group = "androidx.palette", name = "palette-ktx", version.ref = "paletteKtx" }
activity-ktx = { group = "androidx.activity", name = "activity-ktx", version.ref = "activityKtx" }