How can I have clipped corners on top and buttons to not go out of the frame?
my code is like this
B4X:
Dim opts As B4XListTemplate
opts.Initialize
opts.Options = Array As Double(0,1.0,1.5,2,3,4,5)
Dim d As B4XDialog
d.Initialize(Root)
d.BlurBackground = False
d.BorderCornersRadius = 20dip
d.BackgroundColor = clrmeaning
d.BodyTextColor = clrText
d.Title = "Seconds "
Dim sf As Object = d.ShowTemplate(opts, "Ok", "", "Cancel")
Wait For (sf) Complete (Result As Int)