圆角、描边背景样式,XML文件
2015-01-12 15:28
405 查看
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" > <!-- 渐变 <gradient android:startColor="#fff" android:endColor="#fff" android:angle="270" /> --> <!-- 描边 --> <stroke android:width="0.5dp" android:color="#E8E8E8" /> <!-- 实心 --> <solid android:color="#fff" /> <!-- 圆角 --> <corners android:bottomRightRadius="5dip" android:bottomLeftRadius="5dip" android:topLeftRadius="5dip" android:topRightRadius="5dip" /> </shape>
相关文章推荐
- Android使用XML的方式为背景添加渐变,描边,圆角的效果
- Android使用XML的方式为背景添加渐变,描边,圆角的效果
- (六十八)进度条自定义样式(例如进度颜色、背景描边、填充、圆角)的方法
- Android使用XML的方式为背景添加渐变,描边,圆角的效果
- 布局文件----Shape (圆角、描边)
- xml布局文件里直接使用背景图导致爆内存的情况处理
- 主题:转:shape 渐变!描边!圆角!漂亮的自定义背景
- 写了一个脚本,生成gnome桌面背景slide模式所需的xml文件
- Android button, xml文件定义形状,代码中修改背景颜色
- Qt之界面实现技巧-- 窗体显示,绘制背景,圆角,QSS样式
- 对Xml的文件操作,根据数据的配置和数据样式的定义,将结果字符输出
- Button样式设计 圆角、实心、渐变、描边
- 从XML文件中读取数据到treeview及动态设置其样式
- 用xml创建带圆角和阴影的按钮背景
- android View使用shape作为背景不能指定单边圆角的xml
- Android中xml文件中设置背景颜色、图片
- 将xml文件按照xsl文件样式快速生成html文件的方法
- DataSet生成XML样式的TXT文件(为了换行)
- 编写一个xml文件,并加上样式
- Qt之界面实现技巧-- 窗体显示,绘制背景,圆角,QSS样式