单选按钮的颜色变化
问题描述:
我是新到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!