-
Notifications
You must be signed in to change notification settings - Fork 145
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
MaxHeight on FlowLayout #10
Comments
At the moment you can't do that. |
Can you show an example of how you would do it in onPreDrawListener? |
I tried setting the maxHeight like this https://gist.github.com/lawloretienne/e79b16d285b94b64b473 But then the views inside the FlowLayout never get displayed, unless this FlowLayout is scrolled off screen and then back on screen. |
I was thinking something like this
This is from top of my head so it may not work right away. But it should with a bit of twerking. |
How do you set a maxHeight on the FlowLayout? Ideally I would have the FlowLayout set to android:layout_height="wrap_content" in xml, and then have a way to set the maxHeight of this FlowLayout.
The text was updated successfully, but these errors were encountered: