Merge "Doc change: Design guidelines update." into klp-dev

This commit is contained in:
Dirk Dougherty
2013-10-31 14:07:58 +00:00
committed by Android (Google) Code Review
189 changed files with 853 additions and 461 deletions

View File

@@ -54,14 +54,8 @@ page.tags="progressbar","download","network"
<p>In this example, an activity circle (in Holo Light) is used in the Gmail application when a message is being loaded because it's not possible to determine how long it will take to download the email.</p> <p>In this example, an activity circle (in Holo Light) is used in the Gmail application when a message is being loaded because it's not possible to determine how long it will take to download the email.</p>
<p>When displaying an activity circle, do not include text to communicate what the app is doing. The moving circle alone provides sufficient feedback about the delay, and does so in an understated way that minimizes the impact.</p> <p>When displaying an activity circle, do not include text to communicate what the app is doing. The moving circle alone provides sufficient feedback about the delay, and does so in an understated way that minimizes the impact.</p>
<p> <p>
<div class="layout-content-col span-3" style="margin-left:0"> <div style="margin-left:0;margin-top:1em;">
<div class="do-dont-label bad">Don't</div> <img src="{@docRoot}design/media/progress_activity_do_dont.png">
<img src="{@docRoot}design/media/progress_activity_dont.png">
</div>
<div class="layout-content-col span-3">
<div class="do-dont-label good">Do</div>
<img src="{@docRoot}design/media/progress_activity_do.png">
</div> </div>
</p> </p>
</li> </li>

View File

@@ -8,7 +8,7 @@ scrolling speed is proportional to the speed of the gesture.</p>
<p>Appears during scrolling to indicate what portion of the content is currently in view.</p> <p>Appears during scrolling to indicate what portion of the content is currently in view.</p>
<div class="framed-galaxynexus-land-span-13"> <div class="framed-nexus5-land-span-13">
<video class="play-on-hover" autoplay> <video class="play-on-hover" autoplay>
<source src="{@docRoot}design/media/scroll_indicator.mp4" type="video/mp4"> <source src="{@docRoot}design/media/scroll_indicator.mp4" type="video/mp4">
<source src="{@docRoot}design/media/scroll_indicator.webm" type="video/webm"> <source src="{@docRoot}design/media/scroll_indicator.webm" type="video/webm">
@@ -26,7 +26,7 @@ to quickly navigate to the items that begin with a particular letter. With index
indicator appears even when the user isn't scrolling. Touching or dragging it causes the current indicator appears even when the user isn't scrolling. Touching or dragging it causes the current
letter to pop up in a prominent way.</p> letter to pop up in a prominent way.</p>
<div class="framed-galaxynexus-land-span-13"> <div class="framed-nexus5-land-span-13">
<video class="play-on-hover" autoplay> <video class="play-on-hover" autoplay>
<source src="{@docRoot}design/media/scroll_index.mp4" type="video/mp4"> <source src="{@docRoot}design/media/scroll_index.mp4" type="video/mp4">
<source src="{@docRoot}design/media/scroll_index.webm" type="video/webm"> <source src="{@docRoot}design/media/scroll_index.webm" type="video/webm">

View File

@@ -35,7 +35,7 @@ to the next/previous view, swipe left or right.</p>
</video> </video>
<div class="figure-caption"> <div class="figure-caption">
Scrolling tabs in the Play Store app. Scrolling tabs in the Play Store app.
<div class="video-instructions">&nbsp;</div> <div class="video-instructions-image">&nbsp;</div>
</div> </div>
</div> </div>
@@ -55,14 +55,3 @@ to the next/previous view, swipe left or right.</p>
<div class="figure-caption"> <div class="figure-caption">
Tabs in the Google Play Movies app. Tabs in the Google Play Movies app.
</div> </div>
<h2 id="stacked">Stacked Tabs</h2>
<p>If view navigation is essential to your app, you can break out tabs into a separate action bar. This
permits fast view switching even on narrower screens.</p>
<img src="{@docRoot}design/media/tabs_stacked.png">

View File

@@ -19,6 +19,7 @@
<li><a href="<?cs var:toroot ?>design/style/typography.html">Typography</a></li> <li><a href="<?cs var:toroot ?>design/style/typography.html">Typography</a></li>
<li><a href="<?cs var:toroot ?>design/style/color.html">Color</a></li> <li><a href="<?cs var:toroot ?>design/style/color.html">Color</a></li>
<li><a href="<?cs var:toroot ?>design/style/iconography.html">Iconography</a></li> <li><a href="<?cs var:toroot ?>design/style/iconography.html">Iconography</a></li>
<li><a href="<?cs var:toroot ?>design/style/branding.html">Your Branding</a></li>
<li><a href="<?cs var:toroot ?>design/style/writing.html">Writing Style</a></li> <li><a href="<?cs var:toroot ?>design/style/writing.html">Writing Style</a></li>
</ul> </ul>
</li> </li>
@@ -34,6 +35,7 @@
<li><a href="<?cs var:toroot ?>design/patterns/navigation-drawer.html">Navigation Drawer</a></li> <li><a href="<?cs var:toroot ?>design/patterns/navigation-drawer.html">Navigation Drawer</a></li>
<li><a href="<?cs var:toroot ?>design/patterns/multi-pane-layouts.html">Multi-pane Layouts</a></li> <li><a href="<?cs var:toroot ?>design/patterns/multi-pane-layouts.html">Multi-pane Layouts</a></li>
<li><a href="<?cs var:toroot ?>design/patterns/swipe-views.html">Swipe Views</a></li> <li><a href="<?cs var:toroot ?>design/patterns/swipe-views.html">Swipe Views</a></li>
<li><a href="<?cs var:toroot ?>design/patterns/fullscreen.html">Full Screen</a></li>
<li><a href="<?cs var:toroot ?>design/patterns/selection.html">Selection</a></li> <li><a href="<?cs var:toroot ?>design/patterns/selection.html">Selection</a></li>
<li><a href="<?cs var:toroot ?>design/patterns/confirming-acknowledging.html">Confirming &amp; Acknowledging</a></li> <li><a href="<?cs var:toroot ?>design/patterns/confirming-acknowledging.html">Confirming &amp; Acknowledging</a></li>
<li><a href="<?cs var:toroot ?>design/patterns/notifications.html">Notifications</a></li> <li><a href="<?cs var:toroot ?>design/patterns/notifications.html">Notifications</a></li>

View File

@@ -102,9 +102,9 @@ requirements of UI and high-resolution screens.</p>
<p> <p>
<a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Roboto ZIP']);" <a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Roboto ZIP']);"
href="{@docRoot}downloads/design/roboto-1.100141.zip">Roboto</a> href="{@docRoot}downloads/design/roboto-1.2.zip">Roboto</a>
<a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Roboto Specemin Book']);" <a class="download-button" onClick="_gaq.push(['_trackEvent', 'Design', 'Download', 'Roboto Specemin Book']);"
href="{@docRoot}downloads/design/Roboto_Specimen_Book_20111129.pdf">Specimen Book</a> href="{@docRoot}downloads/design/Roboto_Specimen_Book_20131031.pdf">Specimen Book</a>
</p> </p>
</div> </div>

View File

@@ -75,11 +75,6 @@ to allow the user to enjoy full screen content without distraction.</p>
the traditional hardware keys. It houses the device navigation controls Back, Home, and the traditional hardware keys. It houses the device navigation controls Back, Home, and
Recents, and also displays a menu for apps written for Android 2.3 or earlier.</p> Recents, and also displays a menu for apps written for Android 2.3 or earlier.</p>
</li> </li>
<li>
<h4>Combined Bar</h4>
<p>On tablet form factors the status and navigation bars are combined into a single bar at the
bottom of the screen.</p>
</li>
</ol> </ol>
</div> </div>
@@ -101,7 +96,9 @@ notification opens the associated app. <a href="{@docRoot}design/patterns/notifi
<img src="{@docRoot}design/media/notifications_dismiss.png"> <img src="{@docRoot}design/media/notifications_dismiss.png">
<p>Notifications can be expanded to uncover more details and relevant actions. When collapsed, notifications have a one-line title and a one-line message.The recommended layout for a notification includes two lines. If necessary, you can add a third line.</p> <p>Notifications can be expanded to uncover more details and relevant actions. When collapsed, notifications
have a one-line title and a one-line message.The recommended layout for a notification includes two lines.
If necessary, you can add a third line.</p>
<p>Swiping a notification right or left removes it from the notification drawer.</p> <p>Swiping a notification right or left removes it from the notification drawer.</p>
</div> </div>
@@ -114,34 +111,30 @@ notification opens the associated app. <a href="{@docRoot}design/patterns/notifi
<div class="layout-content-row"> <div class="layout-content-row">
<div class="layout-content-col span-7"> <div class="layout-content-col span-7">
<img src="{@docRoot}design/media/ui_overview_app_ui.png"> <img src="{@docRoot}design/media/app_structure_drawer.png">
</div> </div>
<div class="layout-content-col span-6 with-callouts"> <div class="layout-content-col span-6 with-callouts">
<p>A typical Android app consists of action bars and the app content area.</p> <p>A typical Android app uses action bars, and many apps will include a navigation drawer.</p>
<ol> <ol>
<li> <li>
<h4>Main Action Bar</h4> <h4>Action Bar</h4>
<p>The command and control center for your app. The main action bar includes elements for <p>The command and control center for your app. The action bar surfaces the most important actions
navigating your app's hierarchy and views, and also surfaces the most important actions.</p> for the current view, and may include simple controls for switching between views.</p>
<p><a href="{@docRoot}design/patterns/actionbar.html">More on the Action Bar</a></p> <p><a href="{@docRoot}design/patterns/actionbar.html">More on the Action Bar</a></p>
</li> </li>
<li> <li>
<h4>View Control</h4> <h4>Navigation Drawer</h4>
<p>Allows users to switch between the different views that your app provides. Views typically <p>If your app's structure is more complex, the navigation drawer can display the main navigation
consist of different arrangements of your data or different functional aspects of your app.</p> options. The navigation drawer expands from the left edge of the screen, overlaying the content
area but not the action bar.</p>
<p><a href="{@docRoot}design/patterns/navigation-drawer.html">More on the Navigation Drawer</a></p>
</li> </li>
<li> <li>
<h4>Content Area</h4> <h4>Content Area</h4>
<p>The space where the content of your app is displayed.</p> <p>The space where the content of your app is displayed.</p>
</li> </li>
<li>
<h4>Split Action Bar</h4>
<p>Split action bars provide a way to distribute actions across additional bars located below
the main action bar or at the bottom of the screen. In this example, a split action bar moves
important actions that won't fit in the main bar to the bottom.</p>
</li>
</ol> </ol>
</div> </div>

View File

@@ -10,9 +10,13 @@ footer.hide=1
#text-overlay { #text-overlay {
position: absolute; position: absolute;
left: 0; left: 36px;
top: 472px; top: 42px;
width: 280px; width: 266px;
}
#hero-image {
padding-left:68px;
} }
</style> </style>
@@ -20,10 +24,11 @@ footer.hide=1
<div id="text-overlay"> <div id="text-overlay">
Welcome to <strong>Android Design</strong>, your place for learning how to design exceptional Android apps. Welcome to <strong>Android Design</strong>, your place for learning how to design exceptional Android apps.
<br><br> <br><br>
<a href="{@docRoot}design/get-started/creative-vision.html" class="landing-page-link">Creative Vision</a> Want to know what <strong>Android 4.4 KitKat</strong> has for designers? See <a href="{@docRoot}design/patterns/new.html">New in Android</a>.<br><br>
<a href="/design/get-started/creative-vision.html" class="landing-page-link">Creative Vision</a>
</div> </div>
<a id="hero-image" href="/design/get-started/creative-vision.html">
<a href="{@docRoot}design/get-started/creative-vision.html"> <img src="/design/media/index_landing_page.png">
<img src="{@docRoot}design/media/index_landing_page.png">
</a> </a>
</div> </div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 196 KiB

After

Width:  |  Height:  |  Size: 251 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 KiB

After

Width:  |  Height:  |  Size: 459 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 9.3 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 466 KiB

After

Width:  |  Height:  |  Size: 280 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 KiB

After

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 KiB

After

Width:  |  Height:  |  Size: 176 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 KiB

After

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 KiB

After

Width:  |  Height:  |  Size: 175 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 KiB

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 KiB

After

Width:  |  Height:  |  Size: 207 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 KiB

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 161 KiB

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 84 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.9 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Some files were not shown because too many files have changed in this diff Show More