[android] java에서 resource 값 가져오기. 11월 05, 2014 res/values/color.xml파일에 등록된 색상 값 가져오는 방법. 1 2 3 int colorRed = getResources().getColor(R.color.blue); TextView txtTest = (TextView)findViewById(R.id.txt1); txtTest.setTextColor(colorRed); 자세한 내용 보기