Hi,
I'm trying to build a panel with rounded corners and a border. I was expecting the .Initialize2 the give just that, but it doesn't do it (at least for me)
This is the code I'm using:
I would expect a panel filled in Gray with a border colored in DarkGray and thickness 2Dip, Rounded Corners with a radius of 5Dip.
What I'm getting a transparent panel, no way to tell wether the corners a rounded....
When using
The panel shows in DarkGray with rounded corners.
Are my expectations wrong or what...?
I'm trying to build a panel with rounded corners and a border. I was expecting the .Initialize2 the give just that, but it doesn't do it (at least for me)
This is the code I'm using:
B4X:
Dim cd As ColorDrawable
cd.Initialize2( Colors.gray, 5dip, 2dip, Colors.DarkGray)
pnlOptions.Background=cd
What I'm getting a transparent panel, no way to tell wether the corners a rounded....
When using
B4X:
Dim cd As ColorDrawable
cd.Initialize( Colors.gray, 5dip)
pnlOptions.Background=cd
Are my expectations wrong or what...?