-
-
Notifications
You must be signed in to change notification settings - Fork 258
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
Fix flickering toolbar #1311
Fix flickering toolbar #1311
Conversation
Signed-off-by: Christine Coenen <code.coenen@gmail.com>
Signed-off-by: Christine Coenen <code.coenen@gmail.com>
Signed-off-by: Christine Coenen <code.coenen@gmail.com>
This implementation now seems to work great. I tested it on api level 34 and 26 each with SSO and manual login and both light and dark themes. I think, the account button has a position a bit too prominent in the toolbar. But for now, it does work as before. |
News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/NewsReaderListActivity.java
Show resolved
Hide resolved
News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/NewsReaderListActivity.java
Show resolved
Hide resolved
News-Android-App/src/main/java/de/luhmer/owncloudnewsreader/model/OcsUser.java
Show resolved
Hide resolved
@cemrich Thank you a lot for looking into this. I tested it against the Light, Dark and Dark with OLED Theme and it works great in all cases! |
Thanks @cemrich your work is appreciated! |
This is just a proof of concept - but I think this fixes the flickering. I tested on API level 26 and 34.
The implementation of the Toolbar is as documented in the Material Design Components docs.
The account button is now a menu item and looks and behaves exactly as all other menu icons without further configuration. It is visible between the search icon and the overflow menu icon (if room).
Fixes #1291