I am searching for solving this problem but I found nothing for hours. I need to draw on a view a LinearLayout having a border with a particular texture and a transparent body. A good solution should be a shape, but the only thing I can do with it is a flat-color border.
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<stroke
android:width="5dp"
android:color="#DDDDDD" />
</shape>
Is there a way for having a texture for that stroke rather than a color (also writing shape programmatically)?