I have some view in background (map). And I want to make UI as much as interactive and dynamic as possible, so that series of buttons and other views show up in front of this map.
I tried to design those additional controls in new layout. I put almost transparent panel (alpha=5%) in that new layout, and put two buttons and one label on it. Then I load it on main activity. But when loaded in main activity, transparency is lost. Why? When I do same, but without panel I have ok result, but then is not easy to remove all controls which are loaded (deletion one by one).
Another option was to design that panel and buttons as part of original activity layout, but out of visible area, and move it on right position when needed. Then I do not loose transparency of panel.
I tried to design those additional controls in new layout. I put almost transparent panel (alpha=5%) in that new layout, and put two buttons and one label on it. Then I load it on main activity. But when loaded in main activity, transparency is lost. Why? When I do same, but without panel I have ok result, but then is not easy to remove all controls which are loaded (deletion one by one).
Another option was to design that panel and buttons as part of original activity layout, but out of visible area, and move it on right position when needed. Then I do not loose transparency of panel.