You can use the XML bitmap to create the tile template:
<bitmap xmlns:android="http://schemas.android.com/apk/res/android" android:src="@drawable/my_png" android:tileMode="repeat" />
You can then use this as part of the LayerList , which also includes your gradient. Then use the list of layers as your wallpaper.
source share