I want to set common Background Image for whole list View.When i put the background image in xml it comes with each element of list view.
Do somebody have an idea how to resolve it ?
Here is my xml code.
Using xml Syntax Highlighting
- <?xml version="1.0" encoding="utf-8"?>
- <AbsoluteLayout android:id="@+id/widget0"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android">!--
- <!--<ImageView android:id="@+id/upper_blue_tab1"
- android:src="@drawable/upper_blue_tab"
- android:layout_width="wrap_content"
- android:layout_height="100px"
- android:layout_y="-30px"
- android:focusable="true"/>
- --><TextView
- android:id="@+id/list"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="#000000"
- android:text="title"
- android:clickable="true"
- android:textSize="20px"
- />
- </AbsoluteLayout>
Parsed in 0.001 seconds, using GeSHi 1.0.8.4
I m using the array adapter into java code.