Note that there are some explanatory texts on larger screens.

plurals
  1. POTableLayout: ldpi displaying incorrect dimensions
    text
    copied!<p>Incorrect image</p> <p><a href="http://i.stack.imgur.com/EEIBW.png" rel="nofollow">http://i.stack.imgur.com/EEIBW.png</a></p> <p>as this should be diplaying each image in equal height and width, but "Outbox" image is smaller than the right one. What's wrong here? the smae code works fine in mdpi and hdpi</p> <pre><code>&lt;TableLayout android:layout_width="fill_parent" android:layout_height="fill_parent" android:stretchColumns="1" android:background="@color/Grey"&gt; &lt;TableRow&gt; &lt;FrameLayout android:id="@+id/inboxLargeButton" android:layout_height="wrap_content" android:layout_width="0dp" android:layout_weight="1"&gt; &lt;View android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/inbox_normal" android:id="@+id/buttonWeddingDayCheatSheet" android:layout_gravity="bottom" android:adjustViewBounds="true" &gt; &lt;/View&gt; &lt;TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="2631" android:layout_gravity="bottom" android:gravity="center" android:textColor="#fff" android:textSize="50dp" /&gt; &lt;/FrameLayout&gt; &lt;FrameLayout android:id="@+id/outboxLargeButton" android:layout_height="wrap_content" android:layout_width="0dp" android:layout_weight="1"&gt; &lt;View android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/ourbox_normal" android:id="@+id/buttonWddingDayCheatSheet" android:layout_gravity="bottom" android:adjustViewBounds="true" &gt; &lt;/View&gt; &lt;TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="0432" android:layout_gravity="bottom" android:gravity="center" android:textColor="#fff" android:textSize="50dp" /&gt; &lt;/FrameLayout&gt; &lt;/TableRow&gt; &lt;/TableLayout&gt; </code></pre>
 

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