You can set the โbackground imageโ to action by setting the android:background xml attributes as follows:
(Here, for example, take LinearLayout for activity and set the background image for the layout (i.e. indirectly for activity))
<?xml version="1.0" encoding="utf-8"?> <LinearLayout android:id="@+id/LinearLayout01" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" android:background="@drawable/icon"> </LinearLayout>
Paresh Mayani Jul 22 '10 at 8:53 2010-07-22 08:53
source share