Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If I understood you well you need the buttons at the bottom right of each list item. If so, the below will work for you:</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/MainLayout" android:layout_width="fill_parent" android:layout_height= "fill_parent"&gt; &lt;RelativeLayout android:id="@+id/FirstLayout" android:layout_width="fill_parent" android:layout_height= "fill_parent"&gt; &lt;ImageView android:id="@+id/icon" android:layout_width="wrap_content" android:layout_height="fill_parent" android:layout_alignParentBottom="true" android:layout_alignParentTop="true" android:layout_marginRight="6dip" android:src="@drawable/ic_launcher" /&gt; &lt;TextView android:id="@+id/secondLine" android:layout_width="fill_parent" android:layout_height="26dip" android:layout_alignParentBottom="true" android:layout_alignParentRight="true" android:layout_toRightOf="@id/icon" android:ellipsize="marquee" android:singleLine="true" android:text="Details" android:textSize="12sp" /&gt; &lt;TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_above="@id/secondLine" android:layout_alignParentRight="true" android:layout_alignParentTop="true" android:layout_alignWithParentIfMissing="true" android:layout_toRightOf="@id/icon" android:gravity="center_vertical" android:text="Test title" android:textSize="16sp" /&gt; &lt;/RelativeLayout&gt; &lt;RelativeLayout android:id="@+id/SecondLayout" android:layout_below="@+id/FirstLayout" android:layout_width="fill_parent" android:layout_height= "fill_parent"&gt; &lt;Button android:id="@+id/btnTwo" android:text ="Button Two" android:layout_alignParentRight="true"/&gt; &lt;Button android:id="@+id/btnOne" android:text ="Button One" android:layout_toLeftOf="@+id/btnTwo"/&gt; &lt;/RelativeLayout&gt; &lt;/RelativeLayout&gt; </code></pre> <p>Good luck!</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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      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