handle Measured State Too Small
Iterates over children and checks if any of them would like to get more space than it received through the percentage dimension. If you are building a layout that supports percentage dimensions you are encouraged to take advantage of this method. The developer should be able to specify that a child should be remeasured by adding normal dimension attribute with wrap_content
value. For example he might specify child's attributes as app:layout_widthPercent="60%p"
and android:layout_width="wrap_content"
. In this case if the child receives too little space, it will be remeasured with width set to WRAP_CONTENT
.
Return
True if the measure phase needs to be rerun because one of the children would like to receive more space.