android:latout_width fill_parent 设置组件宽高,fill和wrap相同
match_parent
wrap_content
android:text 组件中文字 组件中文字
android:ems 数值和长度单位 英文字M的数倍
android:inputType text/number/date/time... 文字类型
android:background example:ff0000 6或6十六位进制数设置底色
android:textSize 数值 设置文字大小
android:textColor 颜色同background
android:password true/false 暗码显示
android:autoLink web/email/phone/all 自动检测字符串超链接
android:hint 提示文字 没有输入任何数据是提示
android:textColorHint 颜色
android:latout_margin 数值和长度单位 组件四周间隔距离
android:latout_marginLeft 单个指定
android:latout_marginRight
android:latout_marginTop
android:latout_marginBottom
android:padding 数值和长度单位 内部文字和边的距离
android:paddingLeft 单个指定
android:paddingRight
android:paddingTop
android:paddingBottom
android:gravity top/left/center... 对象对齐方式
android:layout_gravity top/left/center... 相对于外框对齐方式
android:latout_weight 数值 使用固定比例的宽度

我在这里给出一些常用的以后方便查询。

更多相关文章

  1. Android - 组件工具箱(widget tool box)
  2. checkbox 文字与多选框的对齐问题
  3. android 开发中将十六进制 颜色代码 转换为int类型数值 方法 :
  4. android —— 自定义控件 竖向的ViewPager,上下滑动的组件,android
  5. Android官方架构组件:Lifecycle
  6. 【Android】图片切换组件ImageSwitcher的运用
  7. Android 更改TextView文字颜色(引用Drawable颜色常数及背景色)
  8. XamarinAndroid组件教程RecylerView动画组件使用动画(3)
  9. 调整 FMX Android 文字显示「锯齿」效果

随机推荐

  1. Android Parcelable的使用
  2. android 学习 之 prefernce
  3. 将TabHost选项卡置于下方
  4. Android Studio ------Dynamic layout pr
  5. android小项目
  6. Android 圆角矩形
  7. android中颜色对应的值
  8. Button去掉自带的阴影效果
  9. Android linearLayout 之 layout_weight
  10. android版本号版本名