Note that there are some explanatory texts on larger screens.

plurals
  1. POList view item layout in Android
    primarykey
    data
    text
    <p>I'm trying to set the background of the right arrow, that when I press it, only the background around the arrow will shown(till the separator).</p> <p>I tried to do it with Image Button but when I do it like this, the list item can't be clickable. </p> <p>this is my XML item list layout:</p> <pre><code> xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingBottom="5dip" android:paddingLeft="2dip" android:paddingRight="2dip" android:paddingTop="5dip" &gt; &lt;ImageView android:id="@+id/itemlist_checkedd" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentLeft="true" android:layout_centerVertical="true" android:adjustViewBounds="true" android:src="@drawable/ic_checkitem" /&gt; &lt;ImageView android:id="@+id/skinpreview" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_toRightOf="@id/itemlist_checkedd" android:scaleType="fitXY" /&gt; &lt;ImageButton android:id="@+id/skinEdit" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:layout_centerVertical="true" android:adjustViewBounds="true" android:paddingLeft="10dip" android:background="@null" android:src="@drawable/ic_go_edit" /&gt; &lt;ImageView android:id="@+id/separator" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" android:layout_toLeftOf="@id/skinEdit" android:layout_marginRight="5dip" android:src="@drawable/separator"/&gt; &lt;TextView android:id="@+id/title" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_marginLeft="2dip" android:layout_marginRight="15dip" android:layout_toRightOf="@id/skinpreview" android:layout_toLeftOf="@id/separator" android:textAppearance="?android:attr/textAppearanceLarge" /&gt; </code></pre> <p>This is how it looks:</p> <p><img src="https://i.stack.imgur.com/4ahow.png" alt="enter image description here"></p> <p>Any suggestions??? Thanks.</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.
    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