StupidBeauty
Read times:879Posted at:Wed Nov 20 18:47:45 2013
- no title specified

转载:[Android UI界面] 怎样设置textview半透明啊?

可使用View.getBackground().setAlpha(int Alpha) 来设置一个视图对象的透明度,透明度取值范围是0到255,越大越不透明.

http://www.eoeandroid.com/thread-154562-1-1.html

亮点

tv.getBackground().setAlpha(100);
这里的数字是0-255,用来改变透明度的
不知道是不是符合你的要求

未知美人

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands