0

I'd like to know what's the name of the part on top of the action bar (where the time is displayed alongside the battery, wifi, etc), and how can its color be changed ?

Thanks !

Husayn Hakeem
  • 3,507
  • 1
  • 11
  • 29

2 Answers2

1

With Android L, Google is treating us to even more flexibility by allowing developers to set their own color for the status bar, or even turning it completely transparent For more details visit the link

http://www.androidpolice.com/2014/07/04/android-l-spotlight-colored-transparent-status-bars-give-apps-even-control-design/

Muhammad Younas
  • 2,008
  • 21
  • 33
0

That's the status bar. Just add colorPrimaryDark item to your theme in styles.xml

<item name="colorPrimaryDark">@color/primary.dark</item>
Wilik
  • 7,400
  • 3
  • 27
  • 34