本文档为个人博客文档系统的备份版本、作者:小游、作者博客:点击访问
//发送按钮圆角效果
GradientDrawable drawable=new GradientDrawable();
drawable.setColor(getColor(theme));
drawable.setCornerRadius(10);
comment_send.setBackground(drawable);
本文介绍了一种使用GradientDrawable实现发送按钮圆角效果的方法。具体步骤包括创建GradientDrawable实例、设置按钮背景颜色、定义圆角半径并应用到按钮上。
本文档为个人博客文档系统的备份版本、作者:小游、作者博客:点击访问
//发送按钮圆角效果
GradientDrawable drawable=new GradientDrawable();
drawable.setColor(getColor(theme));
drawable.setCornerRadius(10);
comment_send.setBackground(drawable);
1048

被折叠的 条评论
为什么被折叠?