作者:乐思GO_361 | 来源:互联网 | 2023-05-18 16:02
android:layout_width控件高度android:layout_height控件宽度ps:fill_parent(高宽度充满整个屏幕),warp_content(宽
android:layout_width 控件高度
android:layout_height 控件宽度 ps : fill_parent(高/宽度充满整个屏幕),warp_content(宽/高度为内容实际宽/高度大小))
android:text 定义组件的显示文字
android:maxLength 最大允许长度
android:textColor 文本颜色
android:textSize 文字大小(px,pt,in,mm,dip,sp)
android:textStyle 文字显示的样式,粗体、斜体等(正常:normal 粗体:bold 斜体:italic)
android:selectAllOnFocus 默认选中并获得焦点
android:password 按密文方式显示文本信息(true,false)
android:background 设置背景颜色