How to reduce opacity of custom listview in android
<p>i have a listview of text item,i want reduce opacity(alpha) of listview. when i set alpha then reduce both text and layout color,but my requirment is reduce only background color of listview.. for example
Here is my code....</p>

<pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
   android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:listSelector="@android:color/transparent"
    android:background="@drawable/bg"
    &gt;
&lt;ScrollView
   android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:fillViewport="true"
   &gt;
&lt;LinearLayout 
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    &gt;
 &lt;!--  &lt;EditText android:id="@+id/inputSearch"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:hint="Search Remedy.."
        android:inputType="textVisiblePassword"/&gt; android:listSelector="@drawable/list_selector"--&gt;
    &lt;ListView
        android:id="@android:id/list"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:divider="#b5b5b5"
        android:dividerHeight="0.5dp"
        android:background="@drawable/list_selector"
         /&gt;
 &lt;/LinearLayout&gt;
&lt;/ScrollView&gt;
&lt;/RelativeLayout&gt;
</code></pre>
