Playing around... I had a routine that reduced (or increased, ie a zoom) the size of a B4XView.
Perhaps the fact is due to the small size and border of the Label, but this seems like a bug to me: final Width & Height of the B4XView are 10x10 but it looks rectangular.
[In the source code there is the SetLayoutAnimated but also writing the values directly gives the same wrong result]
As Salvatore pointed, you are using an absolute value for the radius, so it stays unchanged... but if you set it to be relative to i.e. the views width, then it should remain a rounded square
Thank you but the problem was only the initial one. Other than that I was just playing around, the corners didn't have to be rounded. I just added that animated gif because it's fun, seeing a square turning into a circle. It's not a problem. Thanks again.
Thank you but the problem was only the initial one. Other than that I was just playing around, the corners didn't have to be rounded. I just added that animated gif because it's fun, seeing a square turning into a circle. It's not a problem. Thanks again.