Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Check this code. Im not getting warning</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:orientation="vertical" android:weightSum="10"&gt; &lt;ListView android:id="@+id/listMessages_messages" android:layout_width="fill_parent" android:layout_height="0px" android:layout_marginBottom="5dip" android:layout_marginLeft="10dip" android:layout_marginRight="10dip" android:layout_marginTop="10dip" android:layout_weight="8" android:background="#000000"&gt; &lt;/ListView&gt; &lt;LinearLayout android:layout_width="fill_parent" android:layout_height="0px" android:orientation="horizontal" android:weightSum="10" android:layout_weight="2"&gt; &lt;Button android:layout_width="0px" android:layout_height="wrap_content" android:layout_weight="5" /&gt; &lt;Button android:id="@+id/btnNewConversation_message" android:layout_width="0px" android:layout_height="wrap_content" android:layout_marginRight="5dip" android:layout_weight="5" android:onClick="newConversation" /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; </code></pre> <p>As you placing both views 1.List View 2.Linear Layout (Two buttons) you need to give weight property to adjust them properly and for horizontal divison for buttons also give some weight sum property to second linear layout divide it equally using weights. note within second linear layout i used width for buttons to 0px</p>
    singulars
    1. This table or related slice is empty.
    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. 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