android - Round corners for a shape with tiled background -


i need create view rounded corners uses tiled image background. i've tried layer-list doesn't work me because bitmap placed on top of shape rounded corners. please advice.

<layer-list xmlns:android="http://schemas.android.com/apk/res/android">     <item>         <shape android:shape="rectangle" android:padding="10dp">             <corners android:bottomrightradius="12dp"                 android:bottomleftradius="12dp"                 android:topleftradius="12dp"                 android:toprightradius="12dp" />         </shape>     </item>     <item>         <bitmap android:src="@drawable/profile_data_background_im"             android:tilemode="repeat" />     </item> </layer-list> 

take @ library roundedimageview on github, might looking for.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -