3-11

  • id :设置控件的id 用于java代码中找到该控件
  • layout_width : 控件的宽度 常用值 match_parent(填充父容器) wrap_content(包裹内容)
  • layout_height : 控件的高度 常用值 match_parent(填充父容器) wrap_content(包裹内容)
  • hint :输入框的提示文本(大家最常见的 请输入关键字...)
  • textColorHint :提示文本的颜色
posted @ 2022-05-27 10:39  清谦  阅读(19)  评论(0)    收藏  举报