java - Having issues with argb method with Android -
i trying figure out how use argb method http://developer.android.com/reference/android/graphics/color.html . i've read through multiple times , still can't app work. i'm trying view widget display color made moving 4 sliders no colors show no matter put sliders. thought argb method return value colorvalue , able use color? suggestions appreciated! my main class looks this: public class colorchooseractivity extends activity implements onseekbarchangelistener { //variables private seekbar redseekbar; private seekbar greenseekbar; private seekbar blueseekbar; private seekbar alphaseekbar; private view colorview; private textview colortextview; //instanced variables private static int colorvalue = 0; private int redvalue = 0; private int greenvalue = 0; private int bluevalue =0; private int alphavalue =0; @override protected void oncreate(bundle savedinstancestate) { super.oncreate(savedinstancestate); setcontentview(r.layout.activity_color_chooser); ...