B4J Question [ABMaterial] How to center a floating button inside RC

Mashiane

Expert
Licensed User
Longtime User
Hi

I have a theme...

B4X:
MyTheme.AddCellTheme("centercontent")
MyTheme.Cell("centercontent").align = ABM.CELL_ALIGN_CENTER

This works well for centering images and labels as depicted below.

CenterFloatingButton.png



Thing is I cant center the floating button inside the RC, I tried using the same theme. Can someone advise a way around please..

Thanks a lot!
 
Top