How to repeat image backgroung LinearLayout horizontal and vertical?
<LinearLayout ...
android:background="@drawable/my_image" >
<LinearLayout/>
How to repeat image backgroung LinearLayout horizontal and vertical?
<LinearLayout ...
android:background="@drawable/my_image" >
<LinearLayout/>
you can use tileMode
property with a Bitmap
drawable. There's an example in this link
Try this backrepeat.xml should look like:
<bitmap
xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/tile"
android:tileMode="repeat"
android:dither="true" />