-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Fixed height, not able to see the full view. #23
Comments
Hi, a new version |
I faced this issue in version 1.0.7. When using recyelerView in secondLayout |
I'm having the same problem, is there any solution? |
@skydoves This is still a problem. To reproduce this just adjust this line in your demo MainActivity to change the text and make it larger dynamically: expandable1.setOnExpandListener {
if (it) {
toast("expanded")
expandable1.secondLayout.findViewById<TextView>(R.id.textView).text = "${getString(R.string.text_stars)}${getString(R.string.text_stars)}${getString(R.string.text_stars)}"
} else {
toast("collapse")
expandable1.secondLayout.findViewById<TextView>(R.id.textView).text = "${getString(R.string.text_stars)}${getString(R.string.text_stars)}${getString(R.string.text_stars)}"
}
} |
I faced this issue the same issue.
*Note: if there is an image view with an image in it or a text view with text in it in the XML layouts it will redraw above it again |
I'm having the same problem using 1.0.7 version |
OH MY ***ING LIFE. THANKS A LOT. |
Library Version v1.0.6
The layout set as
secondLayout
is not displayed entirely. It hasandroid:layout_height="match_parent"
but theExpandableLayout
doesn't take in the full size of the layout file.I'd expect to have the second layout fully displayed. The
ExpandableLayout
should take the addedheight
of it's parent and second layout when expanded. Right now I see it's a fixed size and I have to include aScrollView
as a workaroundThe text was updated successfully, but these errors were encountered: