I am working on an Android project using Eclipse. I want to change the background color of a TextView using one of the colors I\'ve defined in res/values/colors.xml. These c
Actually it's even easier with this:
weight2.setBackgroundResource(R.color.darkgrey);