Note that there are some explanatory texts on larger screens.

plurals
  1. POListView Row Height Too Small
    text
    copied!<p>Below is an image of a <code>ListView</code> row that is too short. I've tried too many combinations and yield my frustration to StackOverflow.</p> <p><img src="https://i.stack.imgur.com/kXvZW.png" alt="enter image description here"></p> <p>How can I fix this and show the whole row? Here is the XML for the item.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="fill_parent" android:weightSum="1"&gt; &lt;LinearLayout android:id="@+id/item_left" android:layout_width="wrap_content" android:layout_height="fill_parent" android:paddingRight="2dp" android:paddingLeft="2dp" android:background="@drawable/item_left" android:layout_gravity="fill_vertical"&gt; &lt;TextView android:id="@+id/status_day" android:layout_gravity="center_vertical" android:layout_width="40dp" android:layout_height="wrap_content" android:textColor="@color/item_left_text" android:textSize="25sp"/&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:paddingLeft="2dp" android:background="@drawable/item_right" android:layout_weight="1"&gt; &lt;TextView android:id="@+id/date" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="@color/item_right_text" android:text="" /&gt; &lt;TextView android:id="@+id/message" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textColor="@color/item_right_text" android:text="" /&gt; &lt;/LinearLayout&gt; &lt;ImageButton android:id="@+id/options" android:background="@drawable/item_right" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/ic_menu_moreoverflow_normal_holo_light" /&gt; &lt;/LinearLayout&gt; </code></pre> <p>Any help is appreciated.</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