-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overhauls the settings screen #3140
Conversation
Do not move stuff to utils, that name is meaningless. |
Please beware of tests that might fail after the name changes. |
Should I move the constants to the base package? I don't think it makes sense to have these constants at the fragments package, as most of their usage doesn't concern fragments, and is related to SharedPreferences keys instead. Or should I revert these changes and PR a refactor separately later? |
No.
I would move it to where most sense it makes for to be at, but I am not quite sure that place exists here, feel free to create one if needed.
As you wish. |
8ae017b
to
b9b55a1
Compare
app/src/main/java/com/amaze/filemanager/ui/activities/superclasses/ThemedActivity.java
Show resolved
Hide resolved
app/src/main/java/com/amaze/filemanager/ui/fragments/preference_fragments/PrefsFragment.kt
Outdated
Show resolved
Hide resolved
ccacc86
to
8fba01e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a few changes.
app/src/main/java/com/amaze/filemanager/ui/activities/PreferencesActivity.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/amaze/filemanager/ui/activities/PreferencesActivity.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/amaze/filemanager/ui/activities/PreferencesActivity.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/amaze/filemanager/ui/dialogs/ColorPickerDialog.java
Outdated
Show resolved
Hide resolved
app/src/main/java/com/amaze/filemanager/ui/dialogs/ColorPickerDialog.java
Outdated
Show resolved
Hide resolved
...n/java/com/amaze/filemanager/ui/fragments/preference_fragments/QuickAccessesPrefsFragment.kt
Outdated
Show resolved
Hide resolved
...c/main/java/com/amaze/filemanager/ui/fragments/preference_fragments/SecurityPrefsFragment.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/amaze/filemanager/ui/fragments/preference_fragments/UiPrefsFragment.kt
Outdated
Show resolved
Hide resolved
app/src/main/java/com/amaze/filemanager/ui/fragments/preference_fragments/UiPrefsFragment.kt
Show resolved
Hide resolved
app/src/main/java/com/amaze/filemanager/ui/views/preference/PathSwitchPreference.kt
Outdated
Show resolved
Hide resolved
There is a detail, why does it take so long between the click and the opening of the section on my Nokia? It should be almost instant, but it takes a few frames, the "touch" animation almost ends before the screen opens. |
3e7ffe2
to
6dfcb9a
Compare
That's because of the transition I was using. Changed it to a fade transition which feels way more responsive. This is not what is used in Android settings, which uses the "open" transition, but I found it a bit distracting. |
Its better now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@nicbn sorry for the delay, Codacy had an issue with their services and the Codacy status wasn't getting through to the PR, could you fix the Codacy issues so we can merge please? |
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nicbn Excellent work!
- Please address the comments
- Also, where are the new icons from? Did you create them on your own or imported? If they're imported, please link us to the source.
app/src/main/java/com/amaze/filemanager/ui/activities/superclasses/PreferenceActivity.java
Show resolved
Hide resolved
app/src/main/java/com/amaze/filemanager/ui/activities/superclasses/ThemedActivity.java
Show resolved
Hide resolved
app/src/main/java/com/amaze/filemanager/ui/fragments/preference_fragments/BasePrefsFragment.kt
Outdated
Show resolved
Hide resolved
They are clip arts built into Android Studio, IIRC they are from https://fonts.google.com/icons |
app/src/main/java/com/amaze/filemanager/ui/activities/superclasses/ThemedActivity.java
Show resolved
Hide resolved
app/src/main/java/com/amaze/filemanager/ui/activities/superclasses/ThemedActivity.java
Show resolved
Hide resolved
app/src/main/java/com/amaze/filemanager/ui/activities/superclasses/ThemedActivity.java
Show resolved
Hide resolved
What happen to 'send feedback' option? It used to option email app prior to this. Other changes seem really good. |
It seems to be working the same in my device. It asks what app to open, and if you select the email app then it will fill it, both before and after this PR. |
Here are some other bounties. |
Description
Video demonstration: https://www.youtube.com/watch?v=xo8mEtx8GCg
Issue tracker
Closes #2968
Manual tests
Tested on API 30 and API 16
Build tasks success
Successfully running following tasks on local:
./gradlew assembledebug
./gradlew spotlessCheck