Youβre not an extension developer, so you wouldnβt understand.
it works like when you import the extension it will automatically sets transparent
itβs very simple
Version 0.2.0
- Bug fixes
- New blocks (found below)
- The statusbar will no longer turn transparent even upon dragging and dropping onto any screen. You will have to use the Setup block on screen initialization.
Block | Description | Parameters | Parameter Types |
---|---|---|---|
|
Get the statusbar height! | N/A | returns int |
|
Use any arrangement for the setup process! The recommended arrangement is the first one on your screen holding all content OR the first arrangement inside the first arrangement holding all of your screen content.
Setting the transparent parameter to true or false will determine behavior of the color parameter. |
arrangement, color, transparent | HVArrangement, int, boolean |
|
This can be used as an input for the color parameter from the Setup block. | N/A | returns int |
Version 1.0.0
β Fixed a spelling mistake with the description.
β The minimum API is now 23, or Android Marshmallow.
Β This is a backward incompatible change.
β You can now set the statusbar icons to be visible on a light background!
Β Introduced as a parameter to the Setup procedure.
In response to #13
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.
.
Reflex 2.0.0
- 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.
- Migrated to building with Rush
- Package name has been changed to com.github.squishyoctopus.reflex
- Reflex is open-source on GitHub
- βStatusBarβ is now named βReflexβΒ :D
Deprecated πππππ(β¦ππππππ)
It will be completely removed in v3.0.0, use πΈππππππππ£π(β¦ππππππ) instead.
π³ππππππ’π·πππ²πππππ()
Checking if the display has a cutout is now a reality!
πΈπππ
Reflex has a new icon!
Removed πππππππππππ
Use πΆ instead.
Download and view this release on GitHub
Reflex 3.0.0
- Change the state of the status bar an unlimited amount of times
- Changed documentation
- πππππ(β¦ππππππ) has been removed. Use πΈππππππππ£π(β¦ππππππ) instead.
π³ππππππ’πΈππππππ()
Check if the display is rounded. This will only return ππππ if the display is rounded by software, not by hardware.
πΈπππ
Reflex has a redesigned icon!
Download and view this release on GitHub
DonΒ΄t work
You didnβt say what you tried.
P.S. it does in fact work, you are doing something incorrect.
When I run my App. Donβt workβ¦
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.
Reflex 3.1.0 β Features and Fixes
Download from GitHub
View this release on GitHub
π°ππππ
-
πΆπππ½ππππππππππ±πππ·πππππ β 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.
Works with Androidβ’ Pie and newer.
-
ππππππππππ±πππ²ππππ β 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.
ππππππππππ
- Removal of πΈππππππππ£π.
- Source code on GitHub.
Reflex 3.1.1 β Hotfix
Download from GitHub
View this release on GitHub
π°ππππ
-
ππππππππππ°ππππ’πΏππππππ β 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 πΈππππππππ£π.
- Source code on GitHub.
The layout background, can it contain an image?
Try it Β :)
Iβm trying, generated apkβ¦ β¦butβ¦
The image, will it be behind the status bar?
If you set βSetShouldApplyPaddingβ to false, then yes it should appear behind the status bar.
I thought it didnβt work on the companionβ¦butβ¦
In Apk and Companion , only When i click in This buttonβ¦only Status bar becomes transparent
Reflex 4.0.0
Download from GitHub
View this release on GitHub
ππππππππππ
- Source code on Github.
π²ππππππ
- πΆπππ½ππππππππππ±πππ·πππππ & πΆπππππππππ±πππ·πππππ β 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.
Thank you @Rogerio_Rios for helping debug!
This should be the final fix for this issue, assuming nothing else happens to pop up.
πππππππ
- π³ππππππ’πΈππππππ β No alternative available.
- πΈππππππππ£π β Use ππππππππΈπππππππ£πππππ instead.