首页 新闻 会员 周边

isMeasureWithLargestChildEnabled学习

0
悬赏园豆:10 [待解决问题]
/**
* When true, all children with a weight will be considered having
* the minimum size of the largest child. If false, all children are
* measured normally.
*
* @return True to measure children with a weight using the minimum
* size of the largest child, false otherwise.
*
* @attr ref android.R.styleable#LinearLayout_measureWithLargestChild
*/
public boolean isMeasureWithLargestChildEnabled() {
return mUseLargestChild;
}
官网上说这个方法使用来判断子类及其权重是否是最小权重最大规模的子类,这个方法是在哪个场景使用?谢谢


十分钟学java的主页 十分钟学java | 初学一级 | 园豆:192
提问于:2016-03-22 19:43
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册