关于Android中的View

gxhesihong 2011-08-30 11:06:54
大侠,
View中
setMinimumHeight(int height);
measure(int,int);
getMessureWeight();
上面方法的的含义和参数的意义
...全文
97 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
sunmable 2011-08-30
  • 打赏
  • 举报
回复
setMinimumHeight(int height)
Sets the minimum height of the view.
设置view的最小值

measure(int,int);
This is called to find out how big a view should be. The parent supplies constraint information in the width and height parameters.
view的高度宽度为自己设置的值

getMessureWeight();
The raw measured height of this view.
view的原始高度

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧