Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can use TableLayout. </p> <p>Check here for explanation: </p> <p><a href="http://developer.android.com/resources/tutorials/views/hello-tablelayout.html" rel="nofollow">http://developer.android.com/resources/tutorials/views/hello-tablelayout.html</a></p> <p>Here an example: </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads" android:orientation="vertical" android:layout_height="fill_parent" android:layout_width="match_parent" android:id="@+id/mainLayout"&gt; &lt;TableLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/tableLayout1"&gt; &lt;TableRow android:id="@+id/tableRow2" android:layout_width="match_parent" android:layout_height="match_parent"&gt; &lt;Button android:layout_height="wrap_content" android:id="@+id/button1" android:layout_width="wrap_content" android:text="@string/first_color"&gt; &lt;/Button&gt; &lt;Button android:id="@+id/button2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/second_color"&gt; &lt;/Button&gt; &lt;Button android:id="@+id/button3" android:layout_width="wrap_content" android:text="@string/third_color" android:layout_height="wrap_content"&gt; &lt;/Button&gt; &lt;/TableRow&gt; &lt;TableRow android:id="@+id/tableRow3" android:layout_width="wrap_content" android:layout_height="wrap_content"&gt; &lt;Button android:id="@+id/button5" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/tolerance"&gt; &lt;/Button&gt; &lt;/TableRow&gt; &lt;/TableLayout&gt; &lt;/LinearLayou&gt; </code></pre>
    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.
 

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