We can have a repeat drawable by using tileMode="repeat"
<bitmap
xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/some_png"
android:tileMode="repeat"
android:dither="true" />
It only works if the drawable is a bitmap.
Is there any similar way to repeat a vector drawable?
Tags: androidandroid, vector