summaryrefslogtreecommitdiffstats
path: root/docs/html/design/patterns/actionbar.jd
diff options
context:
space:
mode:
authorPeter Ng <petergng@google.com>2012-08-06 11:44:48 -0700
committerPeter Ng <petergng@google.com>2012-08-13 13:22:21 -0700
commit02123630ca652d88191dc8739dcb2e5559655bd5 (patch)
tree26d0d694899fc541432033cda8422e8df6fe64e7 /docs/html/design/patterns/actionbar.jd
parent252d23d8bb9e3ab05fb851d4ea53558c205bfaea (diff)
downloadframeworks_base-02123630ca652d88191dc8739dcb2e5559655bd5.zip
frameworks_base-02123630ca652d88191dc8739dcb2e5559655bd5.tar.gz
frameworks_base-02123630ca652d88191dc8739dcb2e5559655bd5.tar.bz2
Multiple design styleguide fixes
-Changing extras to videos -new bullet item in swipeviews -new in 4.0 removal -Ui overview notification info -reppling typo fixed Bug: 6936546 Bug: 6936394 Bug: 6958972 Bug: 6960355 Bug: 6937850 Bug: 6937856 Bug: 6912380 Bug: 6941255 Bug: 6937723 Bug: 5836846 Bug: 6915055 Bug: 6915259 Bug: 6651973 Bug: 6937070 Bug: 6947018 Bug: 6924456 Bug: 6915152 Bug: 6936797 Bug: 6924201 Bug: 6922994 Bug: 6924137 Bug: 6907998 Bug: 6912377 Bug: 6937761 Bug: 6923664 Bug: 6946790 Bug: 6918869 Change-Id: Ic5f39fe5b9f56c911af8bde9a254007748f6530e
Diffstat (limited to 'docs/html/design/patterns/actionbar.jd')
-rw-r--r--docs/html/design/patterns/actionbar.jd21
1 files changed, 8 insertions, 13 deletions
diff --git a/docs/html/design/patterns/actionbar.jd b/docs/html/design/patterns/actionbar.jd
index 80aa77d..9ceb499 100644
--- a/docs/html/design/patterns/actionbar.jd
+++ b/docs/html/design/patterns/actionbar.jd
@@ -3,20 +3,15 @@ page.title=Action Bar
<img src="{@docRoot}design/media/action_bar_pattern_overview.png">
-<p>The <em>action bar</em> is arguably the most important structural element of an Android app. It's a
-dedicated piece of real estate at the top of each screen that is generally persistent throughout the
-app.</p>
-<p><strong>The main purpose of the action bar is to</strong>:</p>
+<p>The <em>action bar</em> is a dedicated piece of real estate at the top of each screen that is generally persistent throughout the app.</p>
+<p><strong>It provides several key functions</strong>:</p>
<ul>
-<li>Make important actions (such as <em>New</em> or <em>Search</em>, etc) prominent and accessible in a predictable
- way.</li>
-<li>Support consistent navigation and view switching within apps.</li>
-<li>Reduce clutter by providing an action overflow for rarely used actions.</li>
-<li>Provide a dedicated space for giving your app an identity.</li>
+ <li>Makes important actions prominent and accessible in a predictable way (such as <em>New</em> or <em>Search</em>).</li>
+ <li>Supports consistent navigation and view switching within apps.</li>
+ <li>Reduces clutter by providing an action overflow for rarely used actions.</li>
+ <li>Provides a dedicated space for giving your app an identity.</li>
</ul>
-<p>If you're new to writing Android apps, note that the action bar is one of the most important design
-elements you can implement. Following the guidelines described here will go a long way toward making
-your app's interface consistent with the core Android apps.</p>
+<p>If you're new to writing Android apps, note that the action bar is one of the most important design elements you can implement. Following the guidelines described here will go a long way toward making your app's interface consistent with the core Android apps.</p>
<h2 id="organization">General Organization</h2>
<p>The action bar is split into four different functional areas that apply to most apps.</p>
@@ -224,7 +219,7 @@ tabs. Fixed tabs in the main action bar can move to the top bar when the screen
<h4>Drawers</h4>
<div class="layout-content-row">
<div class="layout-content-col span-6">
-<p>A <em>drawer</em> is a slide-out menu that allows users to switch between views of your app. It can be opened by touching the action bar's app icon (decorated with the Up caret.) Because it relies on Up navigation, a drawer is only suitable for use at the topmost level of your app's hierarchy.</p>
+<p>A <em>drawer</em> is a slide-out menu that allows users to switch between views of your app. It can be opened by touching the action bar's app icon (decorated with the Up caret.) Additionally, a drawer can be revealed by an edge swipe from the left of the screen, and dismissed by swiping from the right edge of the drawer. However, because many users will rely on Up navigation to open a drawer, it is only suitable for use at the topmost level of your app's hierarchy.</p>
<p><strong>Open a drawer from the main action bar if</strong>:</p>
<ul>