Note that there are some explanatory texts on larger screens.

plurals
  1. POandroid-listview problem with transparent cells
    primarykey
    data
    text
    <p>I want to make a listview with semi-transparent cells (some sort of blue with 25% opacity). <p>The listview is created correctly but, when i perform an scroll motion(I press and drag down or up) the list seems to activate some sort of selection mechanism witch applies a black and opaque background to the list. <p> Any Idea how I can get rid of this?</p> <p>Below is the code and the two screens:</p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:background="@drawable/background"&gt; &lt;ImageView android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/my_health_title"&gt; &lt;/ImageView&gt; &lt;ListView android:id="@+id/health" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt; &lt;/ListView&gt; </code></pre> <p></p> <p></p> <pre><code>&lt;TextView android:id="@+id/health_title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#46727c" android:textSize="14sp" android:textStyle="bold" android:layout_marginTop="20dp" android:layout_marginLeft="30px" android:text="Blood presure Profile"&gt; &lt;/TextView&gt; &lt;LinearLayout android:id="@+id/health_gauge" android:layout_width="250dp" android:layout_height="35dp" android:layout_centerVertical="true" android:layout_marginLeft="20dp"&gt; &lt;/LinearLayout&gt; &lt;TextView android:id="@+id/health_description" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="#46727c" android:textSize="12sp" android:textStyle="normal" android:layout_marginTop="150px" android:layout_marginLeft="30px" android:text="Looks Goood"&gt; &lt;/TextView&gt; &lt;ImageView android:id="@+id/health_details" android:background="@drawable/home_arrow_icon_margin" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_centerVertical="true"&gt; &lt;/ImageView&gt; </code></pre> <p> <a href="http://img97.imageshack.us/img97/4786/deviceu.png" rel="nofollow">normal list</a></p> <p><a href="http://img541.imageshack.us/img541/3630/device2u.png" rel="nofollow">selected efect</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload