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: ...
Impetuosity asked 19/2, 2020 at 6:9
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...
Surefire asked 9/2, 2018 at 11:7
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.