Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Change your Layout XML to the above:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/root" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" &gt; &lt;EditText android:id="@+id/name" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:hint="Name" /&gt; &lt;LinearLayout android:id="@+id/linear" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@id/name" android:orientation="horizontal" android:layout_marginBottom="60dp" android:weightSum="1" &gt; &lt;EditText android:id="@+id/address" android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="0.6" android:hint="Address" /&gt; &lt;LinearLayout android:layout_width="0dp" android:layout_height="match_parent" android:orientation="vertical" android:layout_weight="0.4" android:weightSum="3" &gt; &lt;EditText android:id="@+id/phone" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:hint="Phone" /&gt; &lt;EditText android:id="@+id/email" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:hint="Email" /&gt; &lt;EditText android:id="@+id/dob" android:layout_width="match_parent" android:layout_height="0dp" android:layout_weight="1" android:hint="D.O.B." /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; &lt;Button android:id="@+id/submit" android:layout_width="match_parent" android:layout_height="60dp" android:layout_alignParentBottom="true" android:text="Submit" /&gt; &lt;/RelativeLayout&gt; </code></pre> <p>Hope that helps:)</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. VO
      singulars
      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