I would like to add a border to view which to have an icon in the corner like this:
I write a drawable with border:
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<solid android:color="@android:color/transparent" />
<stroke
android:width="2dp"
android:color="#F62626"
android:dashWidth="3dp"
android:dashGap="7dp" />
but I can't add icon in the corner. Thanks for every answers
.