-
Notifications
You must be signed in to change notification settings - Fork 30
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
Issue after status bar animation ends #4
Comments
Hi, thanks for the report. |
Hi, I think @muhammadnomany25 meant status bar text and icons color, not the background. I have the same behavior on Android 10 (Xiaomi Mi Mix 3). Text of toolbar always white after StatusBarAlert showing and hiding, even if it was dark before and set as dark for activity theme. |
Thanks @nestoleh for your contribution, I tried your changes but unfortunately if the alert view is shown when the status is not in low profile mode, when the alert view is going to be hidden the status bar will not reset its status to normal. |
Hi @fede87, thanks for the response. It was my bad, I tested these changes on a Xiaomi device, and looks like MIUI doesn't work correctly with low profile mode (status bar never changed in low profile). Looks like I know how to fix this, we just need to remove the "low profile" flag on alert hide. I added new pull request #6 with these changes and tested it on the real device and emulators, for me it works correctly. |
Thanks @nestoleh again for your contribution and your quick fix! |
Great! Are you planning a new release in the near future? |
@nestoleh I'm going to release it today, I've also added a couple of features to change text and progress bar colors. |
On Android 7, after animation of staus bar ends, the status bar changes to WHITE color, not to the original status bar color
The text was updated successfully, but these errors were encountered: