Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when use STRATEGY_FILL_VIEW, gravity center invalid #64

Open
ColorfulHorse opened this issue Jun 18, 2019 · 3 comments
Open

when use STRATEGY_FILL_VIEW, gravity center invalid #64

ColorfulHorse opened this issue Jun 18, 2019 · 3 comments

Comments

@ColorfulHorse
Copy link

itemView gravity center invalid, it seems cause by layout view without measure

@martin-braun
Copy link

Yes, I can confirm that. Items are left aligned in their container that will be stretched on STRATEGY_FILL_VIEW. A possible bypass could be to fill the contents to the container, but even setting fill_parent on the layout_width will be ignored. Last commit 4 years ago, dead.

@ColorfulHorse
Copy link
Author

Yes, I can confirm that. Items are left aligned in their container that will be stretched on STRATEGY_FILL_VIEW. A possible bypass could be to fill the contents to the container, but even setting fill_parent on the layout_width will be ignored. Last commit 4 years ago, dead.

flexbox instead

@martin-braun
Copy link

@ColorfulHorse Flexbox was not right for me, I used the GridLayoutManager, instead.

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

No branches or pull requests

2 participants