Floating action button position differs when screen resolution change Pls Help

i am trying to create an app that connect to an Tcp when you press the floating icon on the screen, which placed at left corner assuming near to power button of the device , I am using lenovo it shows fine but when i install on asus device it moved down below than actual position and block the button which placed there. how i change that. t tried to change setting in percentage that also not available in floating position.

Can you show us how you are calculating the position and where you want it to be…

i am not clalculate i’m just palcing it by give number fla

through their bottom margin, right margin fileds

Because of the screen size differences you would have to use blocks on initialize and calculate how far from the top you want your FAB to be, either percentage or fixed value…

This might help


thanks it works…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.