单选按钮的颜色变化 [英] Change color of a radio button
本文介绍了单选按钮的颜色变化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是新到Android ..
I'm new to android..
我开发一个基于测验应用。将有1个问题和4个选项(单选按钮)。如果用户选择任何错误的答案,然后我想打开该单选按钮颜色Red.How做到这一点?
I am developing an quiz based app. There will be 1 question and 4 option(radio buttons). If user select any wrong answer then I want to turn that radio button color to Red.How to do this?
感谢提前..
推荐答案
本网站是为一般的定制Android组件确实不错:的 Android的全息色彩
This site is really good for customizing Android components in general: android-holo-colors
只要选择单选按钮,使红色,下载并在项目中使用它!
Just choose the radio button, make the color red, download and use it in your project!
这篇关于单选按钮的颜色变化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文