res/style.xml

<style name="AppTheme" parent="android:Theme.Light" >
    <item name="android:windowBackground">@drawable/app_bg_pattern</item>
</style>

In activity
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
    android:src="@drawable/back_image" 
    android:tileMode="repeat" />

https://maxalley.wordpress.com/category/android/
Advertisements