Hello everyone,
I hope all are well. I need to get device status bar height but currently it not available in kodular component. I already used Reflex. But the developer tell me its not for device status bar height. so anyone can extension for it i already research on this topic and got it
It seems as though you’ve taken my reply the wrong way. You can get the navigation bar and status bar height, but it’s not meant to be used for components’ heights and widths… It’s just there to do some sort of calculating if needed. Additionally, the method I use is full proof and works for almost every device. Using the method you listed could end up not working.
I’m not sure what your “cool ui” is, however setting the status bar height for a component is too small for anything besides, maybe spaces. Other than that, there’s no need for it.
If you want to download an earlier version of Reflex which added the GetStatusBarHeight, then you can do so and it will work properly for your device, but possibly not for others.