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

Linearlayout weight #23

Closed
trant opened this issue Feb 11, 2014 · 2 comments
Closed

Linearlayout weight #23

trant opened this issue Feb 11, 2014 · 2 comments

Comments

@trant
Copy link

trant commented Feb 11, 2014

The ProgressWheel control is only drawn when I specify height and width. If I use a linear layout, and then specify layout_weight=1 and layout_width=0dp, It is not displayed.

Example of xml : https://www.dropbox.com/s/xmxp36rbarllz5d/f.xml

@skjolber
Copy link
Contributor

This is because the onMeasure method really does no checking on whether width or height is unspecified.

skjolber added a commit to skjolber/ProgressWheel that referenced this issue Jul 26, 2015
Todd-Davies added a commit that referenced this issue Aug 6, 2015
@skjolber
Copy link
Contributor

skjolber commented Aug 6, 2015

The fix has been merged, please verify it.

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

3 participants