android-measure Questions

0

Why is it that when you repeatedly alter the visibility of a child view that is contained within a parent view and measure the parent view, Android returns wrong results? I created a simple test: ...

3

Solved

so I tried refactoring some of my recycler ViewHolders to ConstraintLayouts. After I did it I was shocked after what I saw. Inflating a single view takes 20x more time than usual LinearLayout. It a...

1

Solved

I've run into this situation two or three times, where I have some code that looks like this: ViewGroup.LayoutParams params = myView.getLayoutParams(); params.height = 240; myView.requestLayout...
Absent asked 2/7, 2017 at 16:36
1

© 2022 - 2024 — McMap. All rights reserved.