android, custom view, custom viewgroup, custom-ui, imageblock, layout, linearlayout, measureChild, MeasureSpec, onMeasure, optimize, relativelayout, viewgroup
Android provides a few ViewGroups like
FrameLayout to position child Views. These general purpose ViewGroups have quite a lot of options in them. For e.g, LinearLayout supports almost all (except for wrapping) features of HTML Flexbox. It also has options to show dividers in between Views, and measure all children based on the largest child. RelativeLayout works as a constraint solver. These layouts are good enough to start with. But do they perform well when your app has complex UI?
You must be logged in to post a comment.