Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>i think you need to replace <code>GridLayout</code> with <code>TableRow</code></p> <p>this layout for example as your request</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"&gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center_vertical" android:orientation="vertical" &gt; &lt;TableRow android:paddingTop="10dip" android:paddingLeft="10dip" android:paddingRight="10dip" android:paddingBottom="3dip" android:layout_width="match_parent" android:layout_height="wrap_content"&gt; &lt;Button android:id="@+id/button1" android:layout_weight=".2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button 1" /&gt; &lt;Button android:id="@+id/button2" android:layout_weight=".2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button 2" /&gt; &lt;/TableRow&gt; &lt;TableRow android:paddingTop="10dip" android:paddingLeft="10dip" android:paddingRight="10dip" android:paddingBottom="3dip" android:layout_width="match_parent" android:layout_height="wrap_content"&gt; &lt;Button android:id="@+id/button3" android:layout_weight=".2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button 3" /&gt; &lt;Button android:id="@+id/button4" android:layout_weight=".2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button 4" /&gt; &lt;/TableRow&gt; &lt;/LinearLayout&gt; &lt;/FrameLayout&gt; </code></pre> <p>results </p> <p><img src="https://i.stack.imgur.com/YcuEg.jpg" alt="enter image description here"></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.
 

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