Bevor
Bevor

Reputation: 8605

Android: Transparent Icon bar?

I'd like to use these transparent icon bars, seen in the screenshot on this page. Does anybody know which component this is?

Upvotes: 0

Views: 353

Answers (3)

KosherBacon
KosherBacon

Reputation: 172

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"

Upvotes: 0

sriramramani
sriramramani

Reputation: 1098

Google Maps uses ActionBar with the FEATURE_ACTION_BAR_OVERLAY set. In phones, they also enable the split ActionBar.

Upvotes: 1

CommonsWare
CommonsWare

Reputation: 1006674

They are presumably a LinearLayout with a translucent background.

Upvotes: 1

Related Questions