Reflex 4.0.2 - Change your status bar πŸ₯³

image

Reflex

Reflex, built with Rush, allows any Kodularβ„’ developer to change the state of the Androidβ„’ navigation bar and Androidβ„’ status bar using a few blocks.


  • :scissors: π™³πš’πšœπš™πš•πšŠπš’π™·πšŠπšœπ™²πšžπšπš˜πšžπš – Check if the display has a cutout.

  • :straight_ruler: π™ΆπšŽπšπ™½πšŠπšŸπš’πšπšŠπšπš’πš˜πš—π™±πšŠπš›π™·πšŽπš’πšπš‘πš – Get the navigation bar height.

  • :straight_ruler: π™ΆπšŽπšπš‚πšπšŠπšπšžπšœπ™±πšŠπš›π™·πšŽπš’πšπš‘πš – Get the status bar height.

  • :gear: πšπšŽπššπšžπšŽπšœπšπ™Έπš—πš’πšπš’πšŠπš•πš’πš£πšŠπšπš’πš˜πš— – Request both the navigation bar and status bar follow set properties as policy.

  • :books: πš‚πšŽπšπ™»πšŠπš’πš˜πšžπš – Set the layout which will be used if transparency is toggled.

  • :art: πš‚πšŽπšπ™½πšŠπšŸπš’πšπšŠπšπš’πš˜πš—π™±πšŠπš›π™²πš˜πš•πš˜πš› – Sets the color of the navigation bar.

  • :art: πš‚πšŽπšπ™½πšŠπšŸπš’πšπšŠπšπš’πš˜πš—π™±πšŠπš›π™³πš’πšŸπš’πšπšŽπš›π™²πš˜πš•πš˜πš› – Shows a thin line of the specified color between the navigation bar and the app content.

    :information_source: Works with Androidβ„’ Pie and newer.

  • :straight_ruler: πš‚πšŽπšπš‚πš‘πš˜πšžπš•πšπ™°πš™πš™πš•πš’π™ΏπšŠπšπšπš’πš—πš – Requests that when transparency is toggled, that padding is applied to content so it’s not drawn under the navigation bar and status bar.

    :information_source: This is good for designs such as custom action bars!

    :information_source: If false, padding won’t be applied.

    :information_source: If true, padding will be applied.

  • :art: πš‚πšŽπšπš‚πšπšŠπšπšžπšœπ™±πšŠπš›π™²πš˜πš•πš˜πš› – Sets the color of the status bar.

  • :art: πšƒπš˜πšπšπš•πšŽπ™½πšŠπšŸπš’πšπšŠπšπš’πš˜πš—π™±πšŠπš›π™»πš’πšπš‘πšπš‚πšπš’πš•πšŽ – Requests the navigation bar to draw in a mode that is compatible with light navigation bar backgrounds.

    :information_source: Works with Androidβ„’ Oreo and newer.

  • :art: πšƒπš˜πšπšπš•πšŽπš‚πšπšŠπšπšžπšœπ™±πšŠπš›π™»πš’πšπš‘πšπš‚πšπš’πš•πšŽ – Requests the status bar to draw in a mode that is compatible with light status bar backgrounds.

  • :mag: πšƒπš˜πšπšπš•πšŽπšƒπš›πšŠπš—πšœπš™πšŠπš›πšŽπš—πšŒπš’ – Requests the layout is drawn behind the status bar. The layout will also be drawn behind the navigation bar.

    :information_source: When either false or true, πšƒπš˜πšπšπš•πšŽπ™½πšŠπšŸπš’πšπšŠπšπš’πš˜πš—π™±πšŠπš›π™»πš’πšπš‘πšπš‚πšπš’πš•πšŽ and πšƒπš˜πšπšπš•πšŽπš‚πšπšŠπšπšžπšœπ™±πšŠπš›π™»πš’πšπš‘πšπš‚πšπš’πš•πšŽ can be set.

    :information_source: 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.

    :information_source: 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.

Download and view v4.0.2 (the latest)

The following links will be changed with each revision.


:link: Download AIX from GitHub

:mag: Skip to post on Kodular Community

:mag: View release on GitHub

23 Likes

Nice extension :star_struck: :star_struck:

Does this created using @UsesActivities annotation.

1 Like

You should provide an screenshot of preview

1 Like

Not it does not. Just drag it on to the screen of your choice and it will set that screens statusbar to transparent!

There is nothing to preview.

1 Like

you can add set white or dark icons.

1 Like

Well it doesn’t do that on my device…

1 Like

better if you show image of blocks

1 Like

:point_down::point_down::point_down: :neutral_face:

2 Likes

oh sorry i did not saw that

Keep it up nice extension.:heart_eyes:

There are no blocks!? Just this block.
component_component_block

1 Like

Can you show me a screenshot of it not working?

1 Like

That is the intended result. However I do think I have a solution for a better result which will be out in a few day. Thanks for the concern.

Wow, Nice Extension @FlailingOctopus :sweat_smile:

1 Like

Thanks, but there was no reason to advertise your extension in someone else’s topic :yellow_heart:

2 Likes

Can you make extension that shows what GPU render you are device has? (Ex- Adreno ,Mali or PowerVR).

Most devices use Adreno, it would be useless. But the option is open to another developer.

1 Like

My Device use mali but thank you for replying :+1:

A Great Extension. Loved It… :+1:
But I can’t see any block image?