I have set a background image in my app, but the background image is small and I want it to be repeated and fill in the whole screen. What should I do?
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/bg"
android:tileMode="repeat">
Ok, here’s what I’ve got in my app. It includes a hack to prevent
ListViews from going black while scrolling.drawable/app_background.xml:
values/styles.xml:
AndroidManifest.xml: