I'm currently using something like: TextView.SetBackgroundColor(Color.WHITE);
in my java code. I'd like to be able to add some transparancy to the textview through the java... This is easy to do in the XML via #AARRGGBB
format, but I have not found a way to accomplish this programmatically.
views:
32answers:
1
+1
A:
TextView.SetBackgroundColor(Color.argb(a_int, r_int, g_int, b_int));
Or:
TextView.SetBackgroundColor(Color.parseColor("#AARRGGBB"));
eldarerathis
2010-07-16 02:41:11
Just what I was looking for!
dfetter88
2010-07-16 02:43:55