I'd like to use these transparent icon bars, seen in the screenshot on this page. Does anybody know which component this is?
Asked
Active
Viewed 345 times
3 Answers
1
They are presumably a LinearLayout
with a translucent background.

CommonsWare
- 986,068
- 189
- 2,389
- 2,491
-
Thanks, it works with FrameLayout best. See also http://stackoverflow.com/questions/6690530/how-to-show-one-layout-on-top-of-the-other-programmatically-in-my-case – Bevor Nov 04 '12 at 19:36
1
Google Maps uses ActionBar
with the FEATURE_ACTION_BAR_OVERLAY
set. In phones, they also enable the split ActionBar.

sriramramani
- 1,088
- 1
- 9
- 8
-
-
Now I see that it's available from 3.0. Unfortunately I can't develop for 3.0 due to this distribution level (http://developer.android.com/about/dashboards/index.html), so I will stay with FrameLayout. – Bevor Nov 05 '12 at 19:31
0
Set the background to some color with a mid level alpha.
This one is black with an alpha of 180. The first 2 characters are the alpha in hexadecimal, the other 6 are rgb in hexadecimal.
android:background="#B4000000"

KosherBacon
- 172
- 1
- 11