android圆角矩形背景
2015-01-13 14:07
190 查看
Android平台
使用方便
StateRoundRectDrawable mRoundRectDradable = new StateRoundRectDrawable(int normalCorlor, int pressColor);
mRoundRectDradable.setBottomLeftRadius(0);
mRoundRectDradable.setBottomRightRadius(0); .............
xxxxx.setBackgroundDrawable(mRoundRectDradable);
?
?
使用方便
StateRoundRectDrawable mRoundRectDradable = new StateRoundRectDrawable(int normalCorlor, int pressColor);
mRoundRectDradable.setBottomLeftRadius(0);
mRoundRectDradable.setBottomRightRadius(0); .............
xxxxx.setBackgroundDrawable(mRoundRectDradable);
[1].[代码] [Java]代码 跳至 [1] [2]
?
[2].[代码] [Java]代码 跳至 [1] [2]
?相关文章推荐
- android实现圆角矩形背景的方法
- android editText 自定义为圆角矩形背景
- android圆角矩形有背景颜色
- android dialog 去标题,圆角矩形,去背景
- 定义圆角矩形背景
- Android利用canvas画各种图形(点、直线、弧、圆、椭圆、文字、矩形、多边形、曲线、圆角矩形) .
- android TextView 的圆角背景
- Android利用canvas画各种图形(点、直线、弧、圆、椭圆、文字、矩形、多边形、曲线、圆角矩形)
- Android利用canvas画各种图形(点、直线、弧、圆、椭圆、文字、矩形、多边形、曲线、圆角矩形)
- Android利用canvas画各种图形(点、直线、弧、圆、椭圆、文字、矩形、多边形、曲线、圆角矩形)
- 不用css样式表和背景图片实现圆角矩形
- android 背景圆角以及图片圆角处理
- Android利用canvas画各种图形(点、直线、弧、圆、椭圆、文字、矩形、多边形、曲线、圆角矩形)
- Android给TextView设置透明背景、圆角边框
- Android开发 摄像头SurfaceView预览 背景带矩形框 实现(原理:双surfaceview,顶层画矩形框,底层预览视频)
- Android利用canvas画各种图形(点、直线、弧、圆、椭圆、文字、矩形、多边形、曲线、圆角矩形)
- android 画虚线、实线,画圆角矩形,一半圆角
- android背景圆角
- 【android中级】之android 背景圆角和图片圆角
- Android使用XML的方式为背景添加渐变,描边,圆角的效果