I dont know whether I am asking is wrong or not. But can I have an image in this shape xml so that if provide an image then it's corners become rounded.
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:radius="5dp" />
<solid android:color="#F87217"/>
<stroke
android:width="1dip"
android:color="#f0f0f0" />
</shape>