I want to draw a line in the XML
with rounded corners.I am not getting how to create that.I want to use this line for the Seekbar
. I want to give rounded corners to the line just like rectangle.
<?xml version="1.0" encoding="utf-8"?><layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@android:id/background">
<shape android:shape="line">
<stroke
android:width="5dp"
android:color="#7b7878" />
</shape>
</item>
<item android:id="@android:id/progress">
<clip>
<shape android:shape="line">
<stroke
android:width="5dp"
android:color="#FF0000" />
</shape>
</clip>
</item>