- 博客(2)
- 收藏
- 关注
原创 Android开发基本知识
页面布局:线性布局、相对布局、绝对布局、帧布局、网格布局、表格布局大部分情况都使用线性LinearLayout 布局;最外层的线性布局务必加上android:orientation 设置水平还是垂直;通用的一些属性android:layout_width 设置宽度,不设置的话或到值程序运行停止android:layout_height 设置高度,不设置的话或到值程序运行停止android:textColor 设置字体颜色android:textSize 设置字体大小,单位:spand..
2021-06-16 19:45:51
783
2
原创 Android开发 Button笔记
Android开发 Button笔记文本大小、颜色textSizetext Color自定义背景形状Shape 中添加solid:实心就是填充的意思android:color指定填充的颜色gradient:渐变android:startColor和android:endColor分别为起始和结束颜色,ndroid:angle是渐变角度,必须为45的整数倍。另外渐变默认的模式为android:type=“linear”,即线性渐变,可以指定渐变为径向渐变,android:type
2021-06-14 17:35:48
3081
6
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅