Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>In this case I would say your initial layout (without the keyboard showing) is already problematic. Given you are creating what appears to purely be a login screen it would be acceptable to place all your controls in the top half of the screen and have the keyboard display automatically when the user visits the page. This makes the experience faster for the user and saves you having to come up with a flexible layout.</p> <p>But if you want to try and make the layout work in both views, you will need to change the spacing to be dynamic between the controls.</p> <p>For example:</p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width = "fill_parent" android:layout_height = "fill_parent" android:orientation="vertical" &gt; &lt;Space android:layout_height="fill_parent" android:layout_width="fill_parent" android:layout_weight="1"&gt; &lt;!-- Username Controls here --&gt; &lt;Space android:layout_height="fill_parent" android:layout_width="fill_parent" android:layout_weight="1"&gt; &lt;!-- Password Controls here --&gt; &lt;Space android:layout_height="fill_parent" android:layout_width="fill_parent" android:layout_weight="1"&gt; &lt;!-- Login Button here --&gt; &lt;Space android:layout_height="fill_parent" android:layout_width="fill_parent" android:layout_weight="1"&gt; &lt;!-- TextView here --&gt; &lt;Space android:layout_height="fill_parent" android:layout_width="fill_parent" android:layout_weight="1"&gt; &lt;/LinearLayout&gt; </code></pre> <p>For this to work properly, all of the vertical padding must be removed from your controls, with the exception of padding between the labels for the textboxes.</p>
    singulars
    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