Use FrameLayout
as a parent layout and stack it up with as many layouts as you want. Thats one part of the answer. To make a layer (a layout in this case) transparent, set the alpha value in its background (a color) to 0. For instance android:background="#00777777"
sets a background which is translucent with a dull gray.
* The first two values are alpha values. In the upper case, the values are set as '00', so that means 100% transparent effect.
'Android' 카테고리의 다른 글
removeView function removes only direct child object. (0) | 2013.07.23 |
---|---|
image resource size (0) | 2013.07.22 |
RGB 컬러코드 int로 파싱하기 (0) | 2013.07.05 |
How to set a border to an imageview (0) | 2013.07.03 |
If you use RESULT_OK, onActivityResult() is not called. (0) | 2013.05.23 |