Problem with EditText inside RecyclerView

1

I hope I can make you understand me, I have a RecyclerView that contains several EditText but when it goes to the last element shown on the screen it does not show me anymore or 7, after eight, it can be written in the EditText but it is not shows on the screen simply stays down and does not readjust, in the video it seems as if I manually go down to the invisible elements but I do not do this, I do not know how it is with the screen recorder I used.

This is the captured video

The code of my RecyclerView

<android.support.v7.widget.RecyclerView
    android:id="@+id/recyclerDatos"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_weight="1">

</android.support.v7.widget.RecyclerView>

The CardView of the adapter

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

<android.support.v7.widget.CardView
    android:layout_width="match_parent"
    android:layout_height="wrap_content">
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="50sp"
        android:orientation="horizontal"
        android:gravity="center">

        <android.support.v7.widget.AppCompatTextView
            android:id="@+id/posicionDato"
            android:layout_width="0dp"
            android:layout_weight="1"
            android:layout_height="wrap_content"
            android:textSize="20sp"
            android:gravity="center"
            android:text="N"/>

        <android.support.v7.widget.AppCompatEditText
            android:id="@+id/xDato"
            android:layout_width="0dp"
            android:layout_weight="3"
            android:layout_height="wrap_content"
            android:textAlignment="center"
            android:inputType="numberDecimal|numberSigned"
            />
        <android.support.v7.widget.AppCompatEditText
            android:id="@+id/yDato"
            android:layout_width="0dp"
            android:layout_weight="3"
            android:layout_height="wrap_content"
            android:textAlignment="center"
            android:inputType="numberDecimal|numberSigned"
            />
        <android.support.v7.widget.AppCompatImageView
            android:id="@+id/eliminarDato"
            android:padding="15sp"
            android:layout_width="0dp"
            android:layout_weight="1"
            android:layout_height="wrap_content"

            android:tint="@color/primary"
            android:src="@drawable/ic_action_eliminar_dato"/>

    </LinearLayout>
</android.support.v7.widget.CardView>

I would appreciate your help, it's driving me crazy.

    
asked by Mijael Viricochea 12.04.2017 в 17:42
source

0 answers