-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Fixed #158(scrollbar issue) #309
Conversation
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.
Great job :)
Please fix linter
About scrollbar issue, add android:layout_marginBottom="80dp"
in
- https://github.com/Exodus-Privacy/exodus-android-app/blob/master/app/src/main/res/layout/fragment_about.xml
- https://github.com/Exodus-Privacy/exodus-android-app/blob/master/app/src/main/res/layout/fragment_trackers.xml
- https://github.com/Exodus-Privacy/exodus-android-app/blob/master/app/src/main/res/layout-land/fragment_about.xml
Done. ✔️ |
Ok to improve layout but this changes have an impact on differents configurations layouts ? |
Just like the
|
Ok, but add screenshots foreach config to see difference |
There won't be any changes visually. UI will remain as it is right now. Just changes in xml layouts code. Later when we add multiple layouts for tablets, things can be re-arranged for tablet specific views like you showed in the screenshot in #296 |
Ok, go on |
Done. All nested layouts have been flattened. |
|
Done
Hmm, for me it started showing 11 items. couldn't figure out why, so reverted this back to relative layout.
In android studio the layout is being rendered correctly. I already added |
I have start tests on theming:
|
fixed |
Layout looks good |
Unfortunately, I don't know how to. Since there is no inbuilt method for this, we probably have to define a custom style with all the colors (background, status bar, nav bar, fab everything). When user selects checkbox/switch we'd have to set the theme/style to our custom oled style. When user unchecks, we'd again set it back to base theme. That's the idea at least, but last time I tried this, it didn't work, so 🤷
Maybe we show the theme option only for sdk > 21? 🤔 |
I have check on others Android apps, to detect OLED mode, apps check configuration -> https://developer.android.com/develop/ui/views/theming/darktheme#java I used apps with dark theme in API 21 (NewPipe, Organic Maps, VLC), i think it's doesn't work because, we don't have Base.V21 Theme in our styles |
okay it's done. You can do the |
I'm not a developer, i try to maintain project but i'm not expert. I have noticed somes things, on theme option:
|
Yeah sure no problem. :)
Why 🤔 You just check the checkbox and it switches to OLED mode directly and vice versa. |
On other app, to enable oled mode, we need to select dark mode before enable oled |
Yeah same here too. The OLED mode will only be enabled if dark mode is selected, or if it's follow system and the system theme is dark mode. I've handled that part already. All that remains is the |
In somes cases, if i want enable OLED mode. |
Hmm, okay I'll do it when I split the theme stuff into a new pull request. Will do in a couple of days. |
Reverted theme stuff so it now only has scrollbar fixes and layout changes. |
Thanks, can you remove commits about theming ? |
Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-android](https://github.com/Kotlin/kotlinx.coroutines) from 1.7.1 to 1.7.2. - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](Kotlin/kotlinx.coroutines@1.7.1...1.7.2) --- updated-dependencies: - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-android dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#311) Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines) from 1.7.1 to 1.7.2. - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](Kotlin/kotlinx.coroutines@1.7.1...1.7.2) --- updated-dependencies: - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jean-Baptiste <[email protected]>
Bumps `hilt_version` from 2.46.1 to 2.47. Updates `com.google.dagger:hilt-compiler` from 2.46.1 to 2.47 - [Release notes](https://github.com/google/dagger/releases) - [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md) - [Commits](google/dagger@dagger-2.46.1...dagger-2.47) Updates `com.google.dagger:hilt-android` from 2.46.1 to 2.47 - [Release notes](https://github.com/google/dagger/releases) - [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md) - [Commits](google/dagger@dagger-2.46.1...dagger-2.47) --- updated-dependencies: - dependency-name: com.google.dagger:hilt-compiler dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.google.dagger:hilt-android dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [com.google.dagger.hilt.android](https://github.com/google/dagger) from 2.46.1 to 2.47. - [Release notes](https://github.com/google/dagger/releases) - [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md) - [Commits](google/dagger@dagger-2.46.1...dagger-2.47) --- updated-dependencies: - dependency-name: com.google.dagger.hilt.android dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jean-Baptiste <[email protected]>
Bumps [com.google.dagger:hilt-android-testing](https://github.com/google/dagger) from 2.46.1 to 2.47. - [Release notes](https://github.com/google/dagger/releases) - [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md) - [Commits](google/dagger@dagger-2.46.1...dagger-2.47) --- updated-dependencies: - dependency-name: com.google.dagger:hilt-android-testing dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jean-Baptiste <[email protected]>
#320) Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-test](https://github.com/Kotlin/kotlinx.coroutines) from 1.7.2 to 1.7.3. - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](https://github.com/Kotlin/kotlinx.coroutines/commits) --- updated-dependencies: - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-test dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [org.jetbrains.kotlinx:kotlinx-coroutines-android](https://github.com/Kotlin/kotlinx.coroutines) from 1.7.2 to 1.7.3. - [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases) - [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md) - [Commits](https://github.com/Kotlin/kotlinx.coroutines/commits) --- updated-dependencies: - dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-android dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
okay I'm pretty sure I removed the correct commits relating to theme. Please check & confirm. |
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.
✅ Pixel 6 - Android 13
I've added
// TODO
comments inThemeDialogFragment
andExodusApplication
classes, so you can get the checked item value from preference and set it there.