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.
-
π³ππππππ’π·πππ²πππππ β Check if the display has a cutout.
-
πΆπππ½ππππππππππ±πππ·πππππ β Get the navigation bar height.
-
πΆπππππππππ±πππ·πππππ β Get the status 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.
-
ππππππππππ°ππππ’πΏππππππ β 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.
-
ππππππππππ±πππ²ππππ β 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.
Download and view v4.0.2 (the latest)
The following links will be changed with each revision.
Download AIX from GitHub
Skip to post on Kodular Community
View release on GitHub