714 |
else |
else |
715 |
return baselineRequirements(axis, null).alignment; |
return baselineRequirements(axis, null).alignment; |
716 |
} |
} |
717 |
|
|
718 |
|
/** |
719 |
|
* Called by a child View when its preferred span has changed. |
720 |
|
* |
721 |
|
* @param width indicates that the preferred width of the child changed. |
722 |
|
* @param height indicates that the preferred height of the child changed. |
723 |
|
* @param child the child View. |
724 |
|
*/ |
725 |
|
public void preferenceChanged (View child, boolean width, boolean height) |
726 |
|
{ |
727 |
|
if (width) |
728 |
|
xLayoutValid = false; |
729 |
|
if (height) |
730 |
|
yLayoutValid = false; |
731 |
|
super.preferenceChanged(child, width, height); |
732 |
|
} |
733 |
} |
} |