Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>ScrollView containts only one direct child . if your using more than one this gives an error scrollview has only one child . so you have to do like this Scrollview contains one parent View linearlayout and then parent linear contains its on child .</p> <p> </p> <pre><code>&lt;LinearLayout android:id="@+id/linear_login" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" &gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="20dp" android:layout_marginRight="20dp" android:layout_marginTop="15dp" android:background="@drawable/rounded_backgroud" android:orientation="vertical" &gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="10dp" android:orientation="horizontal" &gt; &lt;TextView android:id="@+id/txtName" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/UserName" android:textSize="15sp" android:textStyle="bold" android:width="100dp" /&gt; &lt;EditText android:id="@+id/edName" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:background="@drawable/rounded_edittext" android:ems="10" android:hint="Required" android:imeOptions="actionNext" android:inputType="textPersonName" android:maxLines="1" android:singleLine="true" /&gt; &lt;/LinearLayout&gt; &lt;LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="10dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="10dp" android:orientation="horizontal" &gt; &lt;TextView android:id="@+id/txtPass" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/PassWord" android:textSize="15sp" android:textStyle="bold" android:width="100dp" /&gt; &lt;EditText android:id="@+id/edPass" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:background="@drawable/rounded_edittext" android:ems="10" android:hint="Required" android:imeOptions="actionGo" android:inputType="textPassword" android:maxLines="1" android:password="true" android:singleLine="true" /&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt; &lt;Button android:id="@+id/btnLogin" android:layout_width="150dp" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginTop="20dp" android:text="@string/btn_GO" android:textColor="@color/title_color" /&gt; &lt;TextView android:id="@+id/txtVersion" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:layout_marginTop="10dp" android:textColor="@color/title_color" /&gt; &lt;/LinearLayout&gt; </code></pre> <p></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. 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