Pravee7094
Active Member
Hello all,
How to set Corner Radius for B4X view?
Example code
Any Suggestion?
Regards
Praveen
How to set Corner Radius for B4X view?
Example code
B4X:
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("dashboard_sec")
For i = 0 To 4
CustomListView1.Add(CreateItem(CustomListView1.AsView.Width),"")
Next
End Sub
B4X:
Private Sub CreateItem(Width As Int) As Panel
Dim p As B4XView = xui.CreatePanel("")
Dim height As Int = 150dip
p.SetLayoutAnimated(0, 0, 0, Width, height)
p.SetColorAndBorder(Colors.Red, 2dip, Colors.Blue, 15dip) ' I just Used this But not worked
p.LoadLayout("dashboard_box")
Return p
End Sub
Any Suggestion?
Regards
Praveen