问题
I have gone via the beow link and it works well . change color
- But there is static status color and I want to change of status bar as per the different form.
- I want to use transparent background image as per the attached image , how can it done?
[EDIT] I have added the android.style in hint build as shown in attached image but there is no changed in status bar, is I using it correctly or not please verify it.
回答1:
Right now transparent status bar is only supported on iOS. We don't support that elsewhere.
It might work using this: Android Completely transparent Status Bar?
But we haven't tested it and the one user who tried it didn't report success. The android.style
build hint would allow you to inject to the theme.xml
but I'm not sure how android:fitsSystemWindows
can work.
来源:https://stackoverflow.com/questions/46109748/how-can-color-of-status-bar-be-changed-as-per-different-forms-in-codenameone