How to draw a circle inside a circle using Android xml shapes?
The only way I’ve gotten this to work is to define a transparent stroke for the inner (i.e., top) circle that’s the difference between the size of the larger and smaller circle. For example, this: <?xml version=”1.0″ encoding=”utf-8″?> <layer-list xmlns:android=”http://schemas.android.com/apk/res/android”> <!– Larger blue circle in back –> <item> <shape android:shape=”oval”> <solid android:color=”#00f”/> <size android:width=”15dp” android:height=”15dp”/> … Read more