Home How to define a circle shape in an android xml drawable file?
Reply: 0

How to define a circle shape in an android xml drawable file?

user498
1#
user498 Published in July 23, 2018, 9:57 am

I have some problems finding the documentation of the definitions of shapes in XML for Android. I would like to define a simple circle filled with a solid color in an XML File to include it into my layout files.

Sadly the Documentation on android.com does not cover the XML attributes of the Shape classes. I think I should use an ArcShape to draw a circle but there is no explanation on how to set the size, the color, or the angle needed to make a circle out of an Arc.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.796255 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO