Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Replace your xml with following code</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="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" &gt; &lt;LinearLayout android:id="@+id/linearLayout1" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:weightSum="10" &gt; &lt;TextView android:id="@+id/secondLine" android:layout_width="fill_parent" android:layout_height="wrap_content" android:textSize="20sp" /&gt; &lt;Button android:id="@+id/Button1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="HelloWord" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:id="@+id/linearLayout2" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:layout_marginTop="5dp" android:weightSum="10" &gt; &lt;TextView android:id="@+id/thirdLine" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="3.3" android:background="#ff0000" android:text="red" android:textColor="#000000" android:gravity="center" /&gt; &lt;TextView android:id="@+id/fourthLine" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="3.4" android:background="#00ff00" android:text="green" android:textColor="#000000" android:gravity="center" /&gt; &lt;TextView android:id="@+id/fifthLine" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="3.3" android:background="#0000ff" android:text="blue" android:textColor="#000000" android:gravity="center"/&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; </code></pre> <p>Hope it will help you.</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. This table or related slice is empty.
    1. This table or related slice is empty.
    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