Thursday, January 23, 2014

Setting the background color on a android TextView

urlTextView.setBackgroundColor(this.getResources().getColor(R.color.error));
view raw gistfile1.java hosted with ❤ by GitHub
<color name="error">#a8206c</color>
view raw gistfile2.xml hosted with ❤ by GitHub

No comments:

Post a Comment