You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expected behavior is for the child view to be centered vertically inside the parent view. However, matchParent sets alignSelf to stretch and as such, the view will not be centered.
The current work around is to set width to 100.percent instead of matchParent.
The text was updated successfully, but these errors were encountered:
Given
The expected behavior is for the child view to be centered vertically inside the parent view. However,
matchParent
setsalignSelf
tostretch
and as such, the view will not be centered.The current work around is to set width to
100.percent
instead ofmatchParent
.The text was updated successfully, but these errors were encountered: