没有办法更改单选按钮的颜色?没有办法、单选、按钮、颜色

由网友(卑微的喜欢)分享简介:我正在与含有一组单选按钮的单选按钮组的机器人形式。从我可以告诉有没有办法设置一个单选按钮的亮点,当你选择它的颜色。它似乎总是默认为一些鲜艳的绿色。这东西是可编辑还是没有?I'm working on an android form with a radio group containing a set of radi...

我正在与含有一组单选按钮的单选按钮组的机器人形式。从我可以告诉有没有办法设置一个单选按钮的亮点,当你选择它的颜色。它似乎总是默认为一些鲜艳的绿色。这东西是可编辑还是没有?

I'm working on an android form with a radio group containing a set of radio buttons. From what I can tell there is no way to set the color a radio button highlights when you select it. It seems to always default to some bright green color. Is this something that is editable or no?

感谢

推荐答案

是的,你可以创建自己绘制的你希望它看起来选中时喜欢和采用Android:按钮,将其设置为资源

Yes you can create your own drawable for what you want it to look like when checked and use android:button to set it to the resource.

示例

Example here

阅读全文

相关推荐

最新文章