Skip to content

Commit

Permalink
Fixing profile fields list constraint in MyProfileFragment
Browse files Browse the repository at this point in the history
The list height was wrap_content, so when the space was limited with the new Gravatar view, the list was unusable. It kept behind the Gravatar view.

This was visible, for example, in landscape or with a bigger text size.

Adding the constraint to the top of the Gravatar view should minimize the issue.

There are still some corners case where the UX can be improved.
  • Loading branch information
hamorillo committed Feb 14, 2024
1 parent 017a133 commit 5023cac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion WordPress/src/main/res/layout/my_profile_fragment.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
<androidx.core.widget.NestedScrollView
android:id="@+id/nested_scroll_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="0dp"
android:layout_marginBottom="@dimen/margin_small"
app:layout_constraintBottom_toTopOf="@+id/gravatar_info_container"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
Expand Down

0 comments on commit 5023cac

Please sign in to comment.