android透明度100%,Android设置字体透明度-CSDN博客

网站介绍:文章浏览阅读1.5k次。释放双眼,带上耳机,听听看~!其实,程序上只要需要一个色值就OK了,那么这个色值我如何计算呢?TextView tv = (TextView) findViewById(R.id.xx);第1种:tv.setBackgroundColor(Color.argb(255, 0, 255, 0)); //背景透明度tv.setTextColor(Color.argb(255, 0, 255, 0));..._代码中100透明度怎么设置出来