边框添加
xiaoshitounan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
给imageview,textview,button等添加边框
android设置imageview圆角主要使用的是shape.xml文件,对四个角的角度进行设置,只要再imageview的background的属性上加上shape文件即可达到效果,示例如下: shapeyuanjiao3.xml:原创 2016-10-13 11:28:45 · 288 阅读 · 0 评论 -
红色按钮边框的制作
<shape xmlns:android="http://schemas.android.com/apk/res/android"> <gradient android:startColor="#c0000000" android:endColor="#c0000000" android:angle="90" /><!--背景颜色渐变 angle为渐变角度--> <转载 2017-02-16 16:19:38 · 320 阅读 · 0 评论
分享