Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Try to use TableLayout like this.</p> <pre><code>&lt;TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginTop="10dip"&gt; &lt;TableRow android:layout_marginTop="10dip"&gt; &lt;TextView android:layout_width="0dp" android:layout_weight="0.7" android:layout_height="wrap_content" android:gravity="right" android:paddingBottom="10dp" android:text="label1:" android:textColor="#372c24" /&gt; &lt;CheckBox android:id="@+id/checkbox1" android:layout_width="0dp" android:layout_weight="0.3" android:layout_height="wrap_content" android:gravity="left" /&gt; &lt;/TableRow&gt; &lt;TableRow android:layout_marginTop="10dip"&gt; &lt;TextView android:layout_width="0dp" android:layout_weight="0.7" android:layout_height="wrap_content" android:gravity="right" android:paddingBottom="10dp" android:text="label2:" android:textColor="#372c24" /&gt; &lt;CheckBox android:id="@+id/checkbox2" android:layout_width="0dp" android:layout_weight="0.3" android:layout_height="wrap_content" android:gravity="left" /&gt; &lt;/TableRow&gt; &lt;TableRow android:layout_weight="1" android:layout_width="0dp" android:layout_height="wrap_content" android:gravity="center" android:layout_marginTop="20dp"&gt; &lt;Button android:id="@+id/btn_about" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="About" android:onClick="About_Click" /&gt; &lt;/TableRow&gt; &lt;/TableLayout&gt; </code></pre>
    singulars
    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.
 

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