android shape的使用
来源:互联网 发布:百度脑图,知乎 编辑:程序博客网 时间:2024/05/01 13:12
shape的一些总结,总是记不住,写在这里方便随时查看。
代码:
<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android"android:shape="rectangle"><solid android:color="#FFFFFF"/> <!-- 实心 --> <stroke android:width="2dp" android:color="#63B8FF" /> <!-- 描边 --><padding android:left="5dp" android:top="5dp" android:right="5dp"android:bottom="5dp" /><corners android:radius="5dp" /> <!-- 圆角 --></shape>
<gradient android:startColor="#666666" android:endColor="#121212" android:angle="270" /> <!-- 渐变,angle角度必须为45的整数倍 -->
<corners android:topRightRadius="20dp" <!-- 右上角 --> android:bottomLeftRadius="20dp" <!-- 右下角 --> android:topLeftRadius="0dp" <!-- 左上角 --> android:bottomRightRadius="0dp" <!-- 左下角 --> />
- android:shape的使用
- android:shape的使用
- android:shape的使用
- android:shape的使用
- android:shape的使用
- android:shape的使用
- android:shape的使用
- android:shape的使用
- android:shape的使用
- android:shape的使用
- android shape的使用
- android:shape的使用
- android:shape的使用
- android:shape的使用
- android:shape的使用
- android:shape的使用
- android:shape的使用
- android:shape的使用
- 电脑常死机的状况分析
- CentOS 安全
- CMarkUp 遍历查找特定元素
- 虚拟带库软件
- 如何阅读其他人写的java代码
- android shape的使用
- c++选择传递值和传引用
- eclipse查看安装了哪些插件
- header("Content-Type:text/html;charset=utf-8");
- 磁盘学习
- 保存MSDN收藏夹
- linux安装java jdk( centOS 5.4 )
- 《一生必读的中国帝王史》
- ClassicMenu Indicator 0.05发布 Gnome经典菜单程序