0

我正在尝试将按钮设置为圆角并保持默认渐变颜色。不幸的是,我不能只在 .xml 可绘制对象中设置背景颜色,否则它会变黑。那么有人知道默认颜色是什么吗?如果不是,我如何才能绕过拐角并保持默认颜色?

4

1 回答 1

0

You can find the default ressources used on buttons on the android drawable site. They are mostly 9-patch images, see the documentation for details.

于 2013-08-30T17:17:29.843 回答