Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Check my below code.. It is same as your layout. So just replace it and check for it...</p> <pre><code>&lt;ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="true" &gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#2d89ef" android:orientation="vertical" &gt; &lt;RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content" &gt; &lt;ImageView android:id="@+id/imageView" android:layout_width="140dp" android:layout_height="200dp" android:layout_centerHorizontal="true" android:background="@drawable/ic_launcher" /&gt; &lt;TextView android:id="@+id/textView" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_below="@id/imageView" android:layout_centerVertical="true" android:layout_marginBottom="10dp" android:layout_marginTop="10dp" android:fontFamily="Segoe UI Light" android:gravity="center" android:text="@string/app_name" android:textColor="#FFFFFF" android:textIsSelectable="false" android:textSize="25dp" /&gt; &lt;EditText android:id="@+id/editText" android:layout_width="275dp" android:layout_height="wrap_content" android:layout_below="@+id/textView" android:layout_centerHorizontal="true" android:ems="10" android:fontFamily="Segoe UI Light" android:gravity="center_vertical" android:inputType="textPersonName" android:textColor="@android:color/white" android:textSize="16sp" android:width="200dp" &gt; &lt;requestFocus /&gt; &lt;/EditText&gt; &lt;EditText android:id="@+id/editText2" android:layout_width="250dp" android:layout_height="wrap_content" android:layout_alignLeft="@+id/editText" android:layout_alignRight="@+id/editText" android:layout_below="@+id/editText" android:ems="10" android:fontFamily="Segoe UI Light" android:gravity="center_vertical" android:inputType="textPassword" android:textColor="@android:color/white" android:textSize="16sp" android:width="200dp" /&gt; &lt;Button android:id="@+id/button" android:layout_width="250dp" android:layout_height="40dp" android:layout_alignLeft="@+id/editText2" android:layout_alignRight="@+id/editText2" android:layout_below="@+id/editText2" android:layout_marginTop="25dp" android:fontFamily="Segoe UI Light" android:height="20dp" android:text="Login" android:textColor="#FFFFFF" android:textSize="15sp" android:width="200dp" /&gt; &lt;Button android:id="@+id/btnForgot" android:layout_width="250dp" android:layout_height="40dp" android:layout_alignLeft="@+id/button" android:layout_alignRight="@+id/button" android:layout_below="@+id/button" android:fontFamily="Segoe UI Light" android:height="20dp" android:text="Forgot Password" android:textColor="#FFFFFF" android:textSize="15sp" android:width="200dp" /&gt; &lt;/RelativeLayout&gt; &lt;/LinearLayout&gt; &lt;/ScrollView&gt; </code></pre>
 

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