-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Enh/dark theme optimizations #6332
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
Conversation
95585ec to
e8b1831
Compare
|
master-Unit test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14587-Unit-master |
|
stable-Unit test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14587-Unit-stable |
|
Button coloring examples
@jancborchardt see screenshots above this is the edge case handling I created for light/dark scenarios and primary buttons. Would this be fine for you? Default Nextcloud blue
|
jancborchardt
left a comment
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.
Looks veeeery nice! :)
|
master-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |
|
stable-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14597-Screenshot-stable |
acd018f to
2f7d8c2
Compare
|
stable-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14633-Screenshot-stable |
|
master-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14633-Screenshot-master |
2f7d8c2 to
d6fdb67
Compare
|
stable-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |
|
master-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |
|
master-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14639-Screenshot-master |
|
stable-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |
|
stable-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14640-Screenshot-stable |
|
master-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14640-Screenshot-master |
|
stable-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed. |
|
master-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14641-Screenshot-master |
c377d33 to
a856513
Compare
|
stable-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14646-Screenshot-stable |
|
master-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14646-Screenshot-master |
|
stable-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14648-Screenshot-stable |
|
master-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14648-Screenshot-master |
80f15ce to
9644e9c
Compare
0efadad to
9b7cdef
Compare
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14690.apk |
|
stable-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14690-Screenshot-stable |
|
master-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14690-Screenshot-master |
Codacy391Lint
SpotBugs (new)
SpotBugs (master)
|
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14694.apk |
|
master-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14694-Screenshot-master |
|
stable-Screenshot test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/14694-Screenshot-stable |
Codacy391Lint
SpotBugs (new)
SpotBugs (master)
|
Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
…button theming Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
Signed-off-by: Andy Scherzinger <[email protected]>
145c296 to
5f73a5e
Compare
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14723.apk |
… [skip ci] Signed-off-by: nextcloud-android-bot <[email protected]>
Codacy391Lint
SpotBugs (new)
SpotBugs (master)
|
|
Complexity increasing per file
==============================
- src/main/java/com/owncloud/android/utils/ThemeUtils.java 1
See the complete overview on Codacy |
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/14724.apk |
Codacy391Lint
SpotBugs (new)
SpotBugs (master)
|










Resolves #6323
edge case improvements (dark/light):
OPEN
MaterialButtonsMaterialButtonsFABcoloring black/white extreme scenarios for dark/light themesMaterialButton(maybe add a theming method for buttons handling all edge cases and securing consistent theming, to be done for standard and borderless buttons)elementColor(...)withprimaryColor(...)and drop methodcc @dan0xii for collaboration
Testing
Writing tests is very important. Please try to write some tests for your PR.
If you need help, please do not hesitate to ask in this PR for help.
unit tests
instrumented tests
UI tests