How to make android app's background image repeat.

Posted by virsir on Stack Overflow See other posts from Stack Overflow or by virsir
Published on 2010-04-25T02:25:59Z Indexed on 2010/04/25 2:33 UTC
Read the original article Hit count: 506

Filed under:
|
|
|

I have set a background image in my app, but the background image is small and I want it to be repeated and filled 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">

© Stack Overflow or respective owner

Related posts about android

Related posts about layout