Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I've got the solution of my problem! my adapter it was ok, the problem is was on the row_def.xml, because it was not correct params of the items, but now I got it! </p> <p>this is the correct way:</p> <pre><code> &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_height="wrap_content" android:id="@+id/row_def" android:orientation="horizontal" android:layout_width="fill_parent"&gt; &lt;ImageView android:id="@+id/profile_picture" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentTop="true" android:layout_alignParentBottom="true" android:layout_marginRight="6dip" /&gt; &lt;TextView android:id="@+id/Nombre_Amigo" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_toRightOf="@+id/profile_picture" android:gravity="center_vertical" /&gt; &lt;ImageView android:id="@+id/proveedor_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="6dip" android:layout_alignParentRight="true" android:layout_alignParentBottom="true"/&gt; &lt;ImageView android:id="@+id/proveedor_icon2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@+id/proveedor_icon" android:layout_marginRight="6dip" android:layout_marginBottom="6dip" android:layout_alignParentRight="true" android:layout_alignParentTop="true"/&gt; &lt;ImageView android:id="@+id/proveedor_icon3" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@+id/proveedor_icon" android:layout_marginRight="6dip" android:layout_alignParentBottom="true"/&gt; &lt;ImageView android:id="@+id/proveedor_icon4" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@+id/proveedor_icon2" android:layout_above="@+id/proveedor_icon3" android:layout_marginRight="6dip" android:layout_marginBottom="6dip" android:layout_alignParentTop="true"/&gt; &lt;ImageView android:id="@+id/proveedor_icon5" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_toLeftOf="@+id/proveedor_icon3" android:layout_marginRight="6dip" android:layout_alignParentBottom="true" /&gt; &lt;/RelativeLayout&gt; </code></pre> <p>thanks :D</p>
 

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