Skip to content

Conversation

@gujjwal00
Copy link
Contributor

Currently gravity attribute is used for these TextViews but it has no effect on the alignment of these views inside parent container.

Due to this, 'Password' is not aligned to vertical center (I am surprised that others don't show the same issue):

image

We should use layout_gravity to change the alignment inside parent container. After this PR:

image

- Replace 'gravity' with 'layout_gravity' because that was the intention.
@bk138 bk138 merged commit e60e07a into bk138:master Feb 27, 2020
@gujjwal00 gujjwal00 deleted the fix-layout branch February 28, 2020 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants