-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
Support padding instead of height/width dp #1
Comments
@lolsheeplol I will try to implement to scale container size using padding and "wrap_content" layout attribute Thank you for giving a good issue! :) |
I was just going to ask about this. The problem i have right now is i have a list that changes size vertical depending on options available for the action. What i have to currently do is set a default height and add to that height when the listview has so many objects (1 action + add x height, 2 actions add xy height). I've even tried getting the view group height from tree observer to set that as the height but it adds to that value every time its calculated. Having a height option to wrap around the xml would be good. |
Hi, is there a better way to implement having a height option to wrap around the xml with keeping functionalities like showAlignTop? It uses a fixed height with |
https://github.com/rgocal/Material_PopUp_Menu You can check and see if there's anything helpful, you could use from my popup menu library. (im actually replacing my library with yours for my project) |
@skydoves Hi, I am using your library right now and want to improve it. I think using wrap content is a very important function and I wanted to start with this. |
It has been a long time! The first issue is resolved in the new release 1.1.2. 🎉 |
Change arrow positioning logic for ArrowPositionRules.ALIGN_ANCHOR
Is your feature request related to a problem?
For a balloon with multiple lines of text, having the balloon container scale with its height would be very useful.
Describe the solution you'd like:
At the moment the
layout_balloon.xml
file uses dp values instead of "wrap_content". If the layout uses "wrap_content" for height, the builder can dropbuilder.setHeight()
andbuilder.setWidth()
, and instead have something likebuilder.setPaddingVert()
andbuilder.setPaddingHoriz()
.Thoughts?
The text was updated successfully, but these errors were encountered: