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

layout_width="wrap_content" not honored #15

Closed
glureau opened this issue Nov 9, 2016 · 0 comments
Closed

layout_width="wrap_content" not honored #15

glureau opened this issue Nov 9, 2016 · 0 comments

Comments

@glureau
Copy link

glureau commented Nov 9, 2016

I've 2 TextView, one before and one after the bar, the all is in a LinearLayout.
The bar is always covering the width until the end of the screen, the second TextView is never visible.

Workaround:
Depending of your layout strategy, you could achieve something by playing with the weight

        android:layout_width="0dp"
        android:layout_weight="1"
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