Описание
Я использую вид переработчика, в котором больше элементов, чем высоты экрана, поэтому, чтобы увидеть их, нам нужно прокрутить вниз. Проблема в том, что я могу только прокрутить вниз dps (например, 10 или 20 dps).
Что мне нужно?
Мне нужно прокрутите вниз, чтобы увидеть все мнения переработчика.
Мой дизайн закрыт, поэтому я покажу вам график c:
Синяя коробка - мой взгляд переработчика. В него загружено десять просмотров, но мы можем видеть только два с половиной. Я могу скользить, чтобы увидеть полное имя «Папочка Янки», но не более того.
Мой фрагмент XML код (в котором у меня есть мой переработчик)
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/ayuda">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/constraint_bar"
android:layout_width="match_parent"
android:layout_height="50dp"
android:elevation="2dp"
android:contentDescription="@string/ayuda"
android:paddingTop="5dp"
android:paddingBottom="5dp"
android:background="#8d6e63"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<ImageButton
android:id="@+id/imgbt_back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:contentDescription="@string/ayuda"
android:background="?selectableItemBackgroundBorderless"
android:src="@drawable/icon_back_negro"
android:tint="#ffffff"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/txt_lobby"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="15dp"
android:contentDescription="@string/ayuda"
android:text="Lobby"
android:textColor="#ffffff"
android:textSize="15.5sp"
android:textStyle="bold"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toEndOf="@+id/imgbt_back"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<TextView
android:id="@+id/txt_names"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginTop="20dp"
android:text="(10) names"
android:fontFamily="@font/arimo"
android:textColor="#000000"
android:textSize="16sp"
app:layout_constraintTop_toBottomOf="@id/constraint_bar"
app:layout_constraintLeft_toLeftOf="parent"
android:contentDescription="@string/ayuda"/>
<View
android:id="@+id/view_barra0"
android:layout_width="match_parent"
android:layout_height="1.5dp"
android:layout_marginTop="5dp"
android:background="#eeeeee"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toBottomOf="@id/txt_names"
android:contentDescription="@string/ayuda"/>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_names"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toBottomOf="@id/view_barra0"
app:layout_constraintLeft_toLeftOf="parent"
android:contentDescription="@string/ayuda"/>
</androidx.constraintlayout.widget.ConstraintLayout>
Что я могу сделать, чтобы сдвинуть мой ресайклер на дно, чтобы увидеть все остальные виды?