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

2nd line isn't shown when using layout_height="wrap_content" #31

Closed
loeschg opened this issue Dec 16, 2014 · 2 comments
Closed

2nd line isn't shown when using layout_height="wrap_content" #31

loeschg opened this issue Dec 16, 2014 · 2 comments

Comments

@loeschg
Copy link

loeschg commented Dec 16, 2014

The following doesn't wrap correctly. It shows only what appears on the first line and truncates the rest. If I set an explicit height, it shows correctly.

            <org.apmem.tools.layouts.FlowLayout
                android:id="@+id/review_scores_container"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/spacing_small"
                android:layout_marginLeft="@dimen/spacing_large"
                android:layout_marginRight="@dimen/spacing_large"
                app:orientation="horizontal"
                >
                <TextView
                    android:id="@+id/review_service_score"
                    tools:text="Some Text Some Text"
                    style="@style/MyStyle"
                    />
                <TextView
                    android:id="@+id/review_responsiveness_score"
                    tools:text="Some Text Some Text"
                    style="@style/MyStyle"
                    />
                <TextView
                    android:id="@+id/review_professionalism_score"
                    tools:text="Some Text Some Text"
                    style="@style/MyStyle"
                    />
                <TextView
                    android:id="@+id/review_value_score"
                    tools:text="Some Text Some Text"
                    style="@style/MyStyle"
                    />
                <TextView
                    android:id="@+id/review_flexibility_score"
                    tools:text="Some Text Some Text"
                    style="@style/MyStyle"
                    />
            </org.apmem.tools.layouts.FlowLayout>
@loeschg loeschg changed the title 2nd line isn't shown when using layout_heigh="wrap_content" 2nd line isn't shown when using layout_height="wrap_content" Dec 16, 2014
@ApmeM
Copy link
Owner

ApmeM commented Jan 12, 2015

Hi,

Sorry for late answer. I had no time to check this issue.
I have found, that I mix width and height modes in one 'switch', and did not check layout height property at all.
Please use latest version from maven (1.8) or latest commit from this repository.
Thanks.

@ApmeM ApmeM closed this as completed Jan 12, 2015
@loeschg
Copy link
Author

loeschg commented Jan 12, 2015

Awesome. Thanks!

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