To repeat the image, you can set the TileMode for this bitmap. To move it to your right in your case, you can define a drop-down list of layers and give its element the left property:
tile_background.xml
<?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android" > <item> <bitmap android:src="@drawable/tile_start" android:gravity="left|bottom"/> </item> <item android:left="60px"> <bitmap android:src="@drawable/tile" android:tileMode="repeat"/> </item> </layer-list>
just a layout:
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <View android:id="@+id/view1" android:layout_width="wrap_content" android:layout_height="26dp" android:background="@drawable/tiled_background" /> </LinearLayout>

source share