This extension is meant to be used without the title bar being visible. Itβs meant to let you make your own title bar while still letting you customize the statusbar.
The new βSetupβ procedure
Use the βisLightβ parameter when your statusbar color is transparent and the arrangement color is light or if your statusbar color is light, but not transparent.
Trying to use the procedure provided by will not work.
Fixed an issue where Android R and Android S would show a white status bar instead of the configured status bar. This only affected compiled applications, not the companion.
We can use the βthe customer isnβt always correctβ saying hereβ¦ Me being the customer of course. I talked to the user privately and tested it myself on older versions of Android, it did in fact not work. I have taken a look into how to fix the issue and due to limitations put on Android earlier, it might not be possible to fix it because of the βisLightβ argument. Over the next few days, I will continue to look for a solution and post a reply with v3.0.1 when one is found.
A temporary solution is to set βtransparentβ to false and set a color other than 0.
The βisLightβ argument should continue to work normally. This issue only affects Android Q and older.
πΆπππ½ππππππππππ±πππ·πππππ β Get the navigation bar height.
ππππππππΈππππππππ£πππππ β Request both the navigation bar and status bar follow set properties as policy.
ππππ»ππ’πππ β Set the layout which will be used if transparency is toggled.
ππππ½ππππππππππ±πππ²ππππ β Sets the color of the navigation bar.
ππππ½ππππππππππ±πππ³πππππππ²ππππ β Shows a thin line of the specified color between the navigation bar and the app content.
ππππππππππ±πππ²ππππ β Sets the color of the status bar.
πππππππ½ππππππππππ±πππ»πππππππ’ππ β Requests the navigation bar to draw in a mode that is compatible with light navigation bar backgrounds.
Works with Androidβ’ Oreo and newer.
πππππππππππππ±πππ»πππππππ’ππ β Requests the status bar to draw in a mode that is compatible with light status bar backgrounds.
ππππππππππππππππππ’ β Requests the layout is drawn behind the status bar. The layout will also be drawn behind the navigation bar.
When either false or true, πππππππ½ππππππππππ±πππ»πππππππ’ππ and πππππππππππππ±πππ»πππππππ’ππ can be set.
When false, the navigation bar and status bar colors (ππππ½ππππππππππ±πππ²ππππ and ππππππππππ±πππ²ππππ) can be set. Content inside the specified layout will stay in between the navigation bar and status bar like usual, however the background color of the layout wonβt be visible from the navigation bar and status bar.
When true, the set layout will show behind the navigation bar and status bar, with respect to their tone style settings (set with πππππππ½ππππππππππ±πππ»πππππππ’ππ and πππππππππππππ±πππ»πππππππ’ππ). The navigation bar and status bar colors (ππππ½ππππππππππ±πππ²ππππ and ππππππππππ±πππ²ππππ) canβt be set and will both remain transparent. Content inside the specified layout will stay in between the navigation bar and status bar like usual, however the background color of the layout will be visible from the navigation bar and status bar.
π²ππππππ
Redesigned icon
π³πππππππππ
π³ππππππ’πΈππππππ β This will no longer function as intended, and will return false instead.
πΈππππππππ£π β This will no longer function as intended, use ππππππππΈππππππππ£πππππ instead.
π΅ππ‘ππ
Androidβ’ Marshmallow to Androidβ’ Q would set their status bars to white, while being set to transparent. Content padding would also be added, which would create more whitespace below the status bar.
ππππππππππ°ππππ’πΏππππππ β Requests that when transparency is toggled, that padding is applied to content so itβs not drawn under the navigation bar and status bar.
This is good for designs such as custom action bars!
If false, padding wonβt be applied.
If true, padding will be applied.
π²ππππππ
ππππππππΈππππππππ£πππππ β Will now update the UI after properties have been changed before being used.
π΅ππ‘ππ
ππππππππΈππππππππ£πππππ β Being used more than once would cause an error to be thrown saying that null cannot be added to a view.
ππππππππππ
Removal of πΈππππππππ£π.
πΆπππ½ππππππππππ±πππ·πππππ & πΆπππππππππ±πππ·πππππ β More accurate values are now returned, if not returned before.
π΅ππ‘ππ
ππππππππΈπππππππ£πππππ β Devices running Android 10 and lower wouldnβt run full screen if transparency was enabled, instead, there would appear to be a white bar at the top and bottom of the screen.
If youβre using Android 11 and higher, Iβm aware of this issue and do have it fixed! The next build is currently on hold because there seems to be a few hiccups when toggling transparency still.