<ScrollView android:layout_width="0dp" android:layout_height="wrap_content" android:id="@+id/ScrollViewContact" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" app:layout_constraintBottom_toTopOf="@+id/imageChat" app:layout_constraintTop_toBottomOf="@+id/textAddContact" android:layout_marginTop="10dp" > <LinearLayout android:layout_width="0dp" android:layout_height="wrap_content" android:orientation="vertical" android:id="@+id/LinearLayoutContact" > </LinearLayout> </ScrollView> ScrollView depends on the code between imageChat and textAddContact When an application is running, ScrollView goes beyond the scope specified by the following app:layout_constraintBottom_toTopOf="@+id/imageChat" app:layout_constraintTop_toBottomOf="@+id/textAddContact" code app:layout_constraintBottom_toTopOf="@+id/imageChat" app:layout_constraintTop_toBottomOf="@+id/textAddContact" Why ScrollView goes beyond the permission her space?