Android Question Corners radius only for two corners

ac9ts

Active Member
Licensed User
Longtime User
I'm not an expert but I would think you would need to put a squared panel on top of the rounded one.
 
Upvote 0

Mahares

Expert
Licensed User
Longtime User
klaus has a piece of code that will do just that for you in this thread:
B4X:
Activity.LoadLayout("Layout1")  'has a panel
    Panel1.Color=Colors.Red
    setCornerRadii(Panel1, 0, 0, 0, 0, 15dip, 15dip, 15dip, 15dip)
 

Attachments

  • Panel with 2 round corners.png
    Panel with 2 round corners.png
    4.5 KB · Views: 151
Upvote 0
Top