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

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


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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…