From 239d09276b2ee4b6d6a635a8a81d047d50136f24 Mon Sep 17 00:00:00 2001 From: Ricardo Cervera Date: Sun, 15 Jun 2014 15:23:58 -0700 Subject: [PATCH] docs: Added info on customizing the status bar. Change-Id: I345fc253057e2abe8284ef4b1f5f3744081424bf --- docs/html/preview/material/get-started.jd | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/html/preview/material/get-started.jd b/docs/html/preview/material/get-started.jd index 27daf5cd81ca3..c527550484e0e 100644 --- a/docs/html/preview/material/get-started.jd +++ b/docs/html/preview/material/get-started.jd @@ -73,6 +73,18 @@ For more information, see Customize the Status Bar + +

The Material theme lets you easily customize the status bar, so you can specify a +color which fits your brand and provides enough contrast to show the white status icons. To +set a custom color for the status bar, use the android:statusBarColor attribute when +you extend the Material theme.

+ +

To handle the color of the status bar yourself (for example, by adding a gradient in the +background), set the android:statusBarColor attribute to +@android:color/transparent. You can also use the +Window.setStatusBarColor method for animations or fading.

+

Material Design