Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>You can adapt it to this, this is from the Google I/O app.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#ffffff"&gt; &lt;LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:padding="6dip"&gt; &lt;LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1"&gt; &lt;Button android:id="@+id/button" android:text="@string/button" android:drawableTop="@drawable/button" /&gt; &lt;Button android:id="@+id/button" android:text="@string/button" android:drawableTop="@drawable/button" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1"&gt; &lt;Button android:id="@+id/button" android:text="@string/button" android:drawableTop="@drawable/button" /&gt; &lt;Button android:id="@+id/button" android:text="@string/button" android:drawableTop="@drawable/button" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1"&gt; &lt;Button android:id="@+id/button" android:text="@string/button" android:drawableTop="@drawable/button" /&gt; &lt;Button android:id="@+id/button" android:text="@string/button" android:drawableTop="@drawable/button" /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; </code></pre> <p> </p>
 

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