android 圆角边框及图片
2016-09-18 17:37
204 查看
<?xml version="1.0" encoding="UTF-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android"> <solid android:color="#99E0E0E0" /> <corners android:radius="8px" /> <padding android:bottom="0dp" android:left="0dp" android:right="0dp" android:top="0dp" /> </shape>
使用:
<LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="12dp" android:layout_marginRight="12dp" android:layout_marginTop="5dp" android:background="@drawable/rounder_corner" android:gravity="center" android:orientation="horizontal" android:paddingBottom="6dp" android:paddingTop="6dp"> ...... </LinearLayout>
相关文章推荐
- android 圆角边框及图片
- android 圆角边框及图片
- android设置控件样式(边框颜色,圆角)和图片样式(圆角)
- Android代码实现图片圆角功能---------------
- Android 图片缩放,图片圆角处理
- 图片圆角边框自适应宽高(深夜原创)
- 利用CSS3的新功能实现(椭)圆角边框和图片边框 (圆角)
- android中处理itemText边框圆角
- 纯css无图片的边框圆角实现原理
- android 实现图片的边框
- android 如何用代码生成圆角Bitmap图片
- 关于无图片实现圆角边框的网页编程问题
- android: RoundCornerImageView 图片视图 倒圆角
- 实现Android图片圆角
- Android图片圆角处理
- CSS3尝鲜(三):利用CSS3的新功能实现(椭)圆角边框和图片边框
- DIV 圆角边框无图片 Firefox
- [Android] bitmap/drawable/byte的转换和获取圆角/倒影图片
- Android腾讯微薄客户端开发七:图片加圆角以及时间处理工具类