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

View Width & Height wrap_content #9

Open
rahulkapoor1 opened this issue Sep 15, 2015 · 3 comments
Open

View Width & Height wrap_content #9

rahulkapoor1 opened this issue Sep 15, 2015 · 3 comments

Comments

@rahulkapoor1
Copy link

Is it possible to set view height & width wrap_content? Right now on setting wrap_content it still taking full height & width.

@EpicJoker93
Copy link

Correct me if i am wrong, but I don't think it would work considering there is no explicit width set! Wrapping content would assume that the items within has a width to add to the total width of the container however, this being canvas drawing, you would need to set the width as a dp value?

@rahulkapoor1
Copy link
Author

Correct, Thank you :)
I need to measure content width and have to pass that to canvas.

@EpicJoker93
Copy link

Great! :) Good luck!

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