by using only height component … height component works as total count of vertical pixels…
for example if there is 2 mobiles of same height like 6.3 inch both… but of different pixels size
so consider the length of first device is 1053px and that of second 786px… so the sheet or any component using animation lifts by this pixel height not by screen height as 6.3 inch…
due to this component position is different in different device even also the device height is same…
if there any possibility to get device height in inches then using ratio of two parameter we can set that…
i have tried a lot this animation utilities but position is not fix because of pixel density
if first device pixel density is 1000 px and second device pixel density is 500 px and height is same
when we lift the sheet with 500 px…
then in first device it will lift upto middle screen…
and in second device it will lift upto top position of screen…
but when animation push the layout by pixels… im telling about moving factor… have you tried it…?
i have tried a lot with panasonic eluga, vivo z1 pro, moto g4 plus, lyf wind4, and realmi mobile… its position is different even also using height component
Is it possible to hide the bottom sheet without having to press the blue arrow button ??
can close by clicking on the screen, where the red arrow shows ?