I have a line shape, it is a thick line:
<?xml version="1.0" encoding="utf-8"?>
<rotate
xmlns:android="http://schemas.android.com/apk/res/android"
android:fromDegrees="30">
<shape android:shape="line">
<size
android:width="100dp"
android:height="100dp" />
<stroke
android:width="30dp"
android:color="#0000FF" />
</shape>
</rotate>
I am wondering is there any way to make the line's two ends rounded?
I tried adding this to above <shape>
:
<corners android:radius="10dp"/>
But it doesn't take any effect for thick line.