I'm trying to draw a complex circle with the right half different from the second one using the XML description of Android.
The final circle should have border on the left and no border on the right.
I though about creating two different circles (One with border, the other without) and merge them but I did not manage to do it. Any ideas?
first_circle.xml
<?xml version="1.0" encoding="utf-8"?>
<shape android:shape="oval" xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@android:color/holo_red_dark"/>
</shape>
second_circle.xml
<?xml version="1.0" encoding="utf-8"?>
<shape android:shape="oval" xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@android:color/black"/>
<stroke android:width="6dp" android:color="@color/lectra_black" />
</shape>
final_circle.xml
<?xml version="1.0" encoding="UTF-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:top="0dp" android:left="0dp" android:bottom="0dp" android:right="0dp" android:drawable="@drawable/first_circle">
</item>
<item android:top="0dp" android:left="0dp" android:bottom="0dp" android:right="0dp" android:drawable="@drawable/second_circle">
</item>
</layer-list>