您的位置:首页 > 移动开发 > Android开发

android圆角矩形背景

2015-01-13 14:07 155 查看
Android平台

使用方便

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]

?
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: