Repeating a bitmap pattern

This snippet of a vector drawable will turn a bitmap drawable into a tile or repeatable pattern.

<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
        android:src="@drawable/background"
        android:tileMode="repeat"/>