diff options
| author | 2014-06-15 23:15:22 +0000 | |
|---|---|---|
| committer | 2014-06-15 23:15:22 +0000 | |
| commit | e5fdd4236b8b5819c56b17ccc6c45540a6b3733d (patch) | |
| tree | c1a60c0e728ba491cdb86cdf7d13c579b1e87f3e | |
| parent | 17e7903f5a21a8bac3d5bf815b82c106af82ff65 (diff) | |
| parent | 09e2459cc347696297062454e4a6bdccadb056e4 (diff) | |
am 09e2459c: Merge "docs: Added info on customizing the status bar." into klp-modular-dev
* commit '09e2459cc347696297062454e4a6bdccadb056e4':
docs: Added info on customizing the status bar.
| -rw-r--r-- | docs/html/preview/material/get-started.jd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/html/preview/material/get-started.jd b/docs/html/preview/material/get-started.jd index 27daf5cd81ca..c527550484e0 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 <a href="{@docRoot}preview/material/compatibility.html the theme for the element and any elements inflated below it, which is useful to alter theme color palettes in a specific portion of an interface.</p> +<h3 style="margin-top:25px;">Customize the Status Bar</h3> + +<p>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 <code>android:statusBarColor</code> attribute when +you extend the Material theme.</p> + +<p>To handle the color of the status bar yourself (for example, by adding a gradient in the +background), set the <code>android:statusBarColor</code> attribute to +<code>@android:color/transparent</code>. You can also use the +<code>Window.setStatusBarColor</code> method for animations or fading.</p> + <h2 style="margin-top:35px">Material Design</h2> |