Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You could probably play around with <a href="http://developer.android.com/resources/tutorials/views/hello-relativelayout.html">RelativeLayout</a> and get just what you want.</p> <p>Here's an approximation with <a href="http://developer.android.com/resources/tutorials/views/hello-tablelayout.html">TableLayout</a>.</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"&gt; &lt;TableLayout android:layout_marginTop="40dip" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center"&gt; &lt;TableRow&gt; &lt;TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="right" android:padding="10dip" android:text="UserID:" /&gt; &lt;EditText android:layout_width="wrap_content" android:layout_height="wrap_content" android:padding="10dip" android:text="USER ID" /&gt; &lt;/TableRow&gt; &lt;TableRow&gt; &lt;TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="right" android:padding="10dip" android:text="Password:" /&gt; &lt;EditText android:layout_width="wrap_content" android:layout_height="wrap_content" android:padding="10dip" android:text="PASSWORD" /&gt; &lt;/TableRow&gt; &lt;/TableLayout&gt; &lt;LinearLayout android:layout_marginTop="50dip" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:weightSum="3" android:gravity="center"&gt; &lt;Button android:layout_width="0dip" android:layout_height="fill_parent" android:layout_weight="1" android:text="LOGIN" /&gt; &lt;Button android:layout_width="0dip" android:layout_height="fill_parent" android:layout_weight="1" android:text="REGISTER" /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; </code></pre> <p><img src="https://lh5.googleusercontent.com/_VZJksQ6kepc/TaTr-EXspaI/AAAAAAAAAFI/Mmx53AZgOVM/s800/Q5642404_Aligned_Login_Fields.png" /></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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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