RecyclerView ocupa todo el espacio de pantalla
Así que estoy teniendo problemas con un RecyclerView en un archivo de diseño
Aquí está:
<android.support.v7.widget.RecyclerView
android:id="@+id/chat_listview"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingRight="@dimen/abc_action_bar_default_padding_material"
android:paddingLeft="@dimen/abc_action_bar_default_padding_material"
/>
<LinearLayout
android:layout_below="@id/chat_listview"
android:layout_width="match_parent"
android:layout_height="@dimen/bottom_bar_height"
android:orientation="horizontal"
>
<EditText
android:id="@+id/chat_input_edittext"
android:layout_weight="7"
android:layout_width="0dp"
android:layout_height="match_parent"
android:inputType="textAutoCorrect"
/>
<Button
android:id="@+id/chat_send_button"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent"
android:background="@drawable/ic_action_send_now"
/>
</LinearLayout>
El RecyclerView es visible y desplazable, pero LinearLayout y las Vistas del interior no son visibles ... Intenté algunas cosas, pero hasta ahora nada ha funcionado.
¿Puede alguno de ustedes señalarme en la dirección correcta?
¡Muchas gracias de antemano!