-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Flexbox not respecting children margins #356
Milestone
Comments
Thanks for opening this issue. Let me take a look |
This was referenced Sep 25, 2017
This should be fixed by #359 |
Thanks @thagikura |
Change "val layoutParams = ViewGroup.MarginLayoutParams(ViewGroup.MarginLayoutParams.WRAP_CONTENT, ViewGroup.MarginLayoutParams.WRAP_CONTENT)
|
@Swaini Also, if it's in RecyclerView, use |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
This was mentioned before in #86, but that issue was closed because the original reporter did not respond. Since then, a couple other people and myself have had the same issue. I am not able to re-open the issue myself so I have created this new issue.
Here is the specific scenario I have:
`
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</android.support.constraint.ConstraintLayout>
`
Code to programmatically create a TextView with margin and add it to the FlexBoxLayout (Kotlin).
`private fun insertTag(facetValue: FacetValue) {
The text was updated successfully, but these errors were encountered: