shape自定义drawable
来源:互联网 发布:stm32单片机程序 编辑:程序博客网 时间:2024/06/06 13:02
<?xml version="1.0" encoding="utf-8"?><shape xmlns:android="http://schemas.android.com/apk/res/android" > <!-- 圆角 --> <corners android:radius="9dp" android:topLeftRadius="2dp" android:topRightRadius="2dp" android:bottomLeftRadius="2dp" android:bottomRightRadius="2dp"/><!-- 设置圆角半径 --> <!-- 渐变 --> <gradient android:startColor="@android:color/white" android:centerColor="@android:color/black" android:endColor="@android:color/black" android:useLevel="true" android:angle="45" android:type="radial" android:centerX="0" android:centerY="0" android:gradientRadius="90"/> <!-- 间隔 --> <padding android:left="2dp" android:top="2dp" android:right="2dp" android:bottom="2dp"/><!-- 各方向的间隔 --> <!-- 大小 --> <size android:width="50dp" android:height="50dp"/><!-- 宽度和高度 --> <!-- 填充 --> <solid android:color="@android:color/white"/><!-- 填充的颜色 --> <!-- 描边 --> <stroke android:width="2dp" android:color="@android:color/black" android:dashWidth="1dp" android:dashGap="2dp"/></shape>
0 0
- 自定义drawable(shape)
- 自定义drawable(shape)
- 自定义drawable(shape)
- 自定义drawable(shape)
- 自定义drawable android:shape
- shape自定义drawable
- 自定义drawable(selector、shape)
- android 自定义Drawable Shape 的应用
- Android中用Shape Drawable实现自定义界面
- 用到的drawable selector和shape自定义
- drawable自定义图形资源之shape属性
- Drawable Shape
- Shape Drawable
- Shape Drawable
- Drawable之Shape drawable
- Android学习之路------自定义drawable之shape属性
- android自定义drawable之shape、selector和layer-list详解
- Drawable资源之shape drawable
- JSON --list-转换
- Could not publish server configuration for Tomcat v8.0 Server at localhost. Multiple Contexts have a
- ListView、GridView的通用型adapter
- Hive处理JSON字符串
- TextView代码中的设置部分字体的颜色
- shape自定义drawable
- Spring核心之IoC
- RadioButton的使用(三个button,实现互斥,一次只能选中一个)
- java 把指定文件夹下的所有文件目录和文件都压缩到指定文件夹下
- BNU17268 UVA129 Krypton Factor
- 第9周项目3 -稀疏矩阵的三元组表示的实现及应用(1)
- android.content.res.Resources$NotFoundException
- 锁表 存储过程 JOB简介
- Cocos 3.0 第一天