Edittext multilines does not scroll

0

I'm having a layout problem, before adding the scrollview component my edittext edtSocialDataStatus would normally scroll when you had multiple lines, not anymore. S eg below how xml is

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


    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:padding="@dimen/paddingPadrao">

        <TextView
            android:id="@+id/txtSolucaoDetalheAtendimento"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="@string/solucao"
            android:textSize="18sp" />

        <View
            android:id="@+id/linhaDivideSolucaoDetalheAtendimento"
            android:layout_width="match_parent"
            android:layout_height="@dimen/list_divider"
            android:layout_marginTop="10dp"
            android:background="@color/divider" />


        <EditText
            android:id="@+id/edtSolucaoDetalheAtendimento"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="20dp"
            android:background="@drawable/custom_edittext_area_corner"
            android:focusable="true"
            android:gravity="top"
            android:hint="@string/digiteSolucao"
            android:inputType="textMultiLine"
            android:isScrollContainer="true"
            android:lines="10"
            android:maxLines="20"
            android:overScrollMode="always"
            android:scrollbarStyle="insideInset"
            android:scrollbars="vertical"
            android:paddingStart="@dimen/paddingPadrao"
            android:paddingTop="@dimen/paddingPadrao"


            />


        <LinearLayout
            android:id="@+id/lineDigitaSolucao"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="12dp"
            android:orientation="vertical">


            <TextView
                android:id="@+id/txtDigiteSolucao"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginEnd="8dp"
                android:layout_marginStart="8dp"
                android:layout_marginTop="24dp"
                android:text="@string/digiteSolucao"
                android:textSize="18sp" />

            <View
                android:layout_width="match_parent"
                android:layout_height="@dimen/list_divider"
                android:layout_marginTop="40dp"
                android:background="@color/divider" />
        </LinearLayout>
    </LinearLayout>

</ScrollView>

    
asked by anonymous 13.08.2018 / 19:43

0 answers