使背景半透明 [英] making the background translucent
本文介绍了使背景半透明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要我的TextView或线性布局的背景是半透明的。我重视的图像作为什么我想要实现的例子。
I want the background of my textView or Linear layout to be translucent. I have attached an image as an example of what I want to achieve.
我不想让整个活动半透明的,而只是一个布局场在里面。我怎样才能得到呢?
I don't want to make the whole activity translucent but just a layout field in it. How can I get this?
推荐答案
请参阅半透明
主题,在这里descibed:
See Translucent
theme, descibed here:
http://developer.android.com/guide/topics/ui/ themes.html
这篇关于使背景半透明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文