Дочерний ScrollView находится под родительским ConstraintLayout. Он не может прокручиваться.
Мой UI xml
p.s. Для scrollView, если я задам атрибуты, как указано ниже, при запуске на телефоне весь scrolloView исчезнет. android:layout_height="0dp" , app:layout_constraintBottom_toBottomOf="parent"
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
...
<ScrollView
android:layout_width="0dp"
android:layout_height="600dp"
android:background="@color/light_white"
app:layout_constraintRight_toLeftOf="@id/guideline_vertical_right_outside"
app:layout_constraintLeft_toRightOf="@id/guideline_vertical_left_outside"
app:layout_constraintTop_toBottomOf="@id/bottom_sheet_dialog_title"
android:fillViewport="true"
android:orientation="vertical">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="4dp">
...
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>
...
</androidx.constraintlayout.widget.ConstraintLayout>
<ScrollView
android:layout_width="0dp"
android:layout_height="0dp"
android:background="@color/light_white"
app:layout_constraintRight_toLeftOf="@id/guideline_vertical_right_outside"
app:layout_constraintLeft_toRightOf="@id/guideline_vertical_left_outside"
app:layout_constraintTop_toBottomOf="@id/bottom_sheet_dialog_title"
app:layout_constraintBottom_toBottomOf="parent"
android:fillViewport="true"
android:orientation="vertical">
Гремислав
Вопрос задан19 января 2024 г.