@marcino936 popraw gridview
<GridView
android:id="@+id/GridUlepszen"
android:layout_width="match_parent"
android:layout_height="0dp"
android:columnWidth="100dp"
android:numColumns="2"
android:stretchMode="columnWidth"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/back" />
Przeanalizuj kod, aby wiedzieć jak to działa.