Android Question BottomActionSheet Questions

Blueforcer

Well-Known Member
Licensed User
Longtime User
im using the BottomActionSheet lib from @Alexander Stolte and i have some questions.

I use it with a landscape app and have to make the action sheet smaller so that it does not take up the entire width, e.g. only 80%, but still centered.
I am also looking for a way to center the item content (icon and text) horizontally. Is there a possibility for this or do I have to modify the lib?
 

Alexander Stolte

Expert
Licensed User
Longtime User
The 2 features are available from V1.04 onwards
I use it with a landscape app and have to make the action sheet smaller so that it does not take up the entire width, e.g. only 80%, but still centered.
B4X:
    BottomActionSheet.SheetWidth = 200dip
    BottomActionSheet.ShowPicker
1731059194903.png

I am also looking for a way to center the item content (icon and text) horizontally. Is there a possibility for this or do I have to modify the lib?
B4X:
    BottomActionSheet.ItemProperties.TextHorizontalAlignment = "CENTER"
    BottomActionSheet.AddItem("Item #1",Null,0)
    BottomActionSheet.ShowPicker
1731059232002.png
1731059239526.png


or do I have to modify the lib?
Would be too much effort to keep an eye on that when a new version is released.
 
Upvote 1
Top