Android ScrollView不会使页面滚动

Android ScrollView不会使页面滚动,android,xml,android-studio,scrollview,Android,Xml,Android Studio,Scrollview,有人能告诉我为什么这个滚动视图不工作吗?我检查了这个问题的其他答案,但它并没有解决我的问题。它只有一个孩子。它有一个结束括号。有什么想法吗?提前谢谢 <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"

有人能告诉我为什么这个滚动视图不工作吗?我检查了这个问题的其他答案,但它并没有解决我的问题。它只有一个孩子。它有一个结束括号。有什么想法吗?提前谢谢

<?xml version="1.0" encoding="utf-8"?>

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#89abe3"
    tools:context=".GardaLoginActivity" >

<RelativeLayout
    android:layout_width="match_parent" android:layout_height="match_parent"
    android:focusableInTouchMode="true" android:fitsSystemWindows="true"
    android:background="#89abe3">

    <TextView
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Smart Neighborhood Watch"
        android:id="@+id/Logo"
        android:textSize="40dp"
        android:layout_gravity="center_horizontal"
        android:gravity="center"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="35dp"
        android:textColor="#ffdd00"
        android:textStyle="bold"/>

    <LinearLayout
        android:id="@+id/linearLayout1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/Logo"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="17dp" >

        <TextView
            android:id="@+id/lblGardaEmail"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textAppearance="?android:attr/textAppearanceMedium"
            android:text="Email"
            android:textColor="#FFFFFF"/>

        </LinearLayout>

    <LinearLayout
        android:id="@+id/linearLayout2"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/linearLayout1"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="17dp">

        <EditText
            android:id="@+id/txtGardaEmail"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:inputType="textEmailAddress"
            android:textColor="#FFFFFF"/>
        <requestFocus />

    </LinearLayout>

    <LinearLayout
        android:id="@+id/linearLayout3"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/linearLayout2"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="17dp">

        <TextView
            android:id="@+id/lblGardaPassword"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:textAppearance="?android:attr/textAppearanceMedium"
            android:text="@string/password"
            android:textColor="#FFFFFF"/>

        </LinearLayout>

    <LinearLayout
        android:id="@+id/linearLayout4"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/linearLayout3"
        android:layout_centerHorizontal="true"
        android:layout_marginTop="17dp">

        <EditText
            android:id="@+id/txtGardaPassword"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:textColorHint="#cccccc"
            android:hint="Minimum 7 characters"
            android:inputType="textPassword"
            android:textColor="#FFFFFF" />
    </LinearLayout>

    <LinearLayout
        android:id="@+id/linearLayout5"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/linearLayout4"
        android:layout_centerHorizontal="true"
        android:paddingTop="30dp"
        android:gravity="center"
        android:weightSum="1">

    <Button
        android:id="@+id/btnGardaLogin"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/login"
        android:background="#66c2ff"
        android:textColor="#FFFFFF"
        android:layout_weight="0.30" />
    </LinearLayout>

    <LinearLayout
        android:id="@+id/linearLayout6"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@+id/linearLayout5"
        android:layout_centerHorizontal="true"
        android:paddingTop="10dp"
        android:gravity="center"
        >

    <TextView
        android:id="@+id/textViewGardaRegister"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textAppearance="?android:attr/textAppearanceMedium"
        android:text="Not a member? Register"
        android:paddingTop="10dp"
        android:textColor="#FFFFFF" />
    </LinearLayout>


</RelativeLayout>

</ScrollView>

重要提示:

根据Android指南,Android:layout\u高度属性 第一个(也是唯一一个)ScrollView子项应始终为 “包装内容”。如果您使用match_parent,您将收到一个Lint警告


使用此代码:

<ScrollView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:fillViewport="true">

很抱歉,我以awnser的身份写了这篇文章,因为我无法对问题发表评论。 如果您的布局比屏幕大,scrollview将正常工作

还有一件事,
ScrollView的子布局
height
wrap\u content

    <?xml version="1.0" encoding="utf-8"?>
    <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#89abe3"
        tools:context=".GardaLoginActivity" >

     <RelativeLayout
            android:layout_width="match_parent" 
            android:layout_height="wrap_content"
            android:focusableInTouchMode="true" 
            android:fitsSystemWindows="true"
            android:background="#89abe3">
           //Your Code
     </RelativeLayout>

    </ScrollView>

//你的代码

只需将子对象的相对布局更改为

   <RelativeLayout
    android:layout_width="match_parent" android:layout_height="match_parent"
    android:focusableInTouchMode="true"
    android:background="#89abe3">

由于android:fitsSystemWindows=“true”属性的相对布局使用了整个屏幕,因此没有滚动视图的空间。


<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#89abe3"
    tools:context=".GardaLoginActivity" >

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#89abe3"
        android:fitsSystemWindows="true"
        android:focusableInTouchMode="true" >

        <TextView
            android:id="@+id/Logo"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="35dp"
            android:gravity="center"
            android:text="Smart Neighborhood Watch"
            android:textColor="#ffdd00"
            android:textSize="40dp"
            android:textStyle="bold" />

        <LinearLayout
            android:id="@+id/linearLayout1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/Logo"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <TextView
                android:id="@+id/lblGardaEmail"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Email"
                android:textAppearance="?android:attr/textAppearanceMedium"
                android:textColor="#FFFFFF" />
        </LinearLayout>

        <LinearLayout
            android:id="@+id/linearLayout2"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout1"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/txtGardaEmail"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:inputType="textEmailAddress"
                android:textColor="#FFFFFF" />

            <requestFocus />
        </LinearLayout>

        <LinearLayout
            android:id="@+id/linearLayout3"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout2"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <TextView
                android:id="@+id/lblGardaPassword"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"

                android:textAppearance="?android:attr/textAppearanceMedium"
                android:textColor="#FFFFFF" />
        </LinearLayout>

        <LinearLayout
            android:id="@+id/linearLayout4"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout3"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/txtGardaPassword"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>

        <LinearLayout
            android:id="@+id/linearLayout5"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout4"
            android:layout_centerHorizontal="true"
            android:gravity="center"
            android:paddingTop="30dp"
            android:weightSum="1" >

            <Button
                android:id="@+id/btnGardaLogin"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="0.30"
                android:background="#66c2ff"

                android:textColor="#FFFFFF" />
        </LinearLayout>

        <LinearLayout
            android:id="@+id/linearLayout6"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout5"
            android:layout_centerHorizontal="true"
            android:gravity="center"
            android:paddingTop="10dp" >

            <TextView
                android:id="@+id/textViewGardaRegister"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:paddingTop="10dp"
                android:text="Not a member? Register"
                android:textAppearance="?android:attr/textAppearanceMedium"
                android:textColor="#FFFFFF" />
        </LinearLayout>
        <LinearLayout
            android:id="@+id/linearLayout7"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout6"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
        <LinearLayout
            android:id="@+id/linearLayout8"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout7"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
        <LinearLayout
            android:id="@+id/linearLayout9"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout8"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
        <LinearLayout
            android:id="@+id/linearLayout10"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout9"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
        <LinearLayout
            android:id="@+id/linearLayout11"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout10"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
        <LinearLayout
            android:id="@+id/linearLayout12"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout11"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
         <LinearLayout
            android:id="@+id/linearLayout13"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout12"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
         <LinearLayout
            android:id="@+id/linearLayout14"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout13"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
         <LinearLayout
            android:id="@+id/linearLayout15"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout14"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
         <LinearLayout
            android:id="@+id/linearLayout16"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout15"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
           <LinearLayout
            android:id="@+id/linearLayout17"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout16"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                 />
        </LinearLayout>
    </RelativeLayout>
</ScrollView>

我已经检查了您的代码。它的工作非常完美,甚至与滚动。
你还有其他疑问吗?

你能为RelativeLayout更改android:layout\u height=“wrap\u content”吗???@Cian请看下面我的答案。我尝试了你的代码。Scrollview对我有用。对不起。这并没有改变任何事情
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="#89abe3"
    tools:context=".GardaLoginActivity" >

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="#89abe3"
        android:fitsSystemWindows="true"
        android:focusableInTouchMode="true" >

        <TextView
            android:id="@+id/Logo"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="35dp"
            android:gravity="center"
            android:text="Smart Neighborhood Watch"
            android:textColor="#ffdd00"
            android:textSize="40dp"
            android:textStyle="bold" />

        <LinearLayout
            android:id="@+id/linearLayout1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/Logo"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <TextView
                android:id="@+id/lblGardaEmail"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="Email"
                android:textAppearance="?android:attr/textAppearanceMedium"
                android:textColor="#FFFFFF" />
        </LinearLayout>

        <LinearLayout
            android:id="@+id/linearLayout2"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout1"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/txtGardaEmail"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:inputType="textEmailAddress"
                android:textColor="#FFFFFF" />

            <requestFocus />
        </LinearLayout>

        <LinearLayout
            android:id="@+id/linearLayout3"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout2"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <TextView
                android:id="@+id/lblGardaPassword"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"

                android:textAppearance="?android:attr/textAppearanceMedium"
                android:textColor="#FFFFFF" />
        </LinearLayout>

        <LinearLayout
            android:id="@+id/linearLayout4"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout3"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/txtGardaPassword"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>

        <LinearLayout
            android:id="@+id/linearLayout5"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout4"
            android:layout_centerHorizontal="true"
            android:gravity="center"
            android:paddingTop="30dp"
            android:weightSum="1" >

            <Button
                android:id="@+id/btnGardaLogin"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="0.30"
                android:background="#66c2ff"

                android:textColor="#FFFFFF" />
        </LinearLayout>

        <LinearLayout
            android:id="@+id/linearLayout6"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout5"
            android:layout_centerHorizontal="true"
            android:gravity="center"
            android:paddingTop="10dp" >

            <TextView
                android:id="@+id/textViewGardaRegister"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:paddingTop="10dp"
                android:text="Not a member? Register"
                android:textAppearance="?android:attr/textAppearanceMedium"
                android:textColor="#FFFFFF" />
        </LinearLayout>
        <LinearLayout
            android:id="@+id/linearLayout7"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout6"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
        <LinearLayout
            android:id="@+id/linearLayout8"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout7"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
        <LinearLayout
            android:id="@+id/linearLayout9"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout8"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
        <LinearLayout
            android:id="@+id/linearLayout10"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout9"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
        <LinearLayout
            android:id="@+id/linearLayout11"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout10"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
        <LinearLayout
            android:id="@+id/linearLayout12"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout11"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
         <LinearLayout
            android:id="@+id/linearLayout13"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout12"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
         <LinearLayout
            android:id="@+id/linearLayout14"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout13"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
         <LinearLayout
            android:id="@+id/linearLayout15"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout14"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
         <LinearLayout
            android:id="@+id/linearLayout16"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout15"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                android:textColorHint="#cccccc" />
        </LinearLayout>
           <LinearLayout
            android:id="@+id/linearLayout17"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_below="@+id/linearLayout16"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="17dp" >

            <EditText
                android:id="@+id/edt1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_weight="1"
                android:hint="Minimum 7 characters"
                android:inputType="textPassword"
                android:textColor="#FFFFFF"
                 />
        </LinearLayout>
    </RelativeLayout>
</ScrollView>