Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

border radius in android

$
0
0

I'm trying to create a circle and have a view with a width and height set to double a border radius:

Example:

"#estimateHolder": {
    width: 210,
    height: 210,
    borderRadius: 105,
    borderColor: "black",
    borderWidth: 3
}
On iPhone this draws a circle with a diameter of 210. On android it draws a rounded rect. The funny thing is that if I say the border radius is 210 .. it will draw a circle on android.

Is this a framework bug?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>