Merge "Doc change: Design guidelines update." into klp-dev
@@ -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>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>
|
||||
<div class="layout-content-col span-3" style="margin-left:0">
|
||||
<div class="do-dont-label bad">Don't</div>
|
||||
<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 style="margin-left:0;margin-top:1em;">
|
||||
<img src="{@docRoot}design/media/progress_activity_do_dont.png">
|
||||
</div>
|
||||
</p>
|
||||
</li>
|
||||
|
||||
@@ -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>
|
||||
|
||||
<div class="framed-galaxynexus-land-span-13">
|
||||
<div class="framed-nexus5-land-span-13">
|
||||
<video class="play-on-hover" autoplay>
|
||||
<source src="{@docRoot}design/media/scroll_indicator.mp4" type="video/mp4">
|
||||
<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
|
||||
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>
|
||||
<source src="{@docRoot}design/media/scroll_index.mp4" type="video/mp4">
|
||||
<source src="{@docRoot}design/media/scroll_index.webm" type="video/webm">
|
||||
|
||||
@@ -35,7 +35,7 @@ to the next/previous view, swipe left or right.</p>
|
||||
</video>
|
||||
<div class="figure-caption">
|
||||
Scrolling tabs in the Play Store app.
|
||||
<div class="video-instructions"> </div>
|
||||
<div class="video-instructions-image"> </div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -55,14 +55,3 @@ to the next/previous view, swipe left or right.</p>
|
||||
<div class="figure-caption">
|
||||
Tabs in the Google Play Movies app.
|
||||
</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">
|
||||
|
||||
|
||||
@@ -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/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/branding.html">Your Branding</a></li>
|
||||
<li><a href="<?cs var:toroot ?>design/style/writing.html">Writing Style</a></li>
|
||||
</ul>
|
||||
</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/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/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/confirming-acknowledging.html">Confirming & Acknowledging</a></li>
|
||||
<li><a href="<?cs var:toroot ?>design/patterns/notifications.html">Notifications</a></li>
|
||||
|
||||
@@ -102,9 +102,9 @@ requirements of UI and high-resolution screens.</p>
|
||||
|
||||
<p>
|
||||
<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']);"
|
||||
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>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -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
|
||||
Recents, and also displays a menu for apps written for Android 2.3 or earlier.</p>
|
||||
</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>
|
||||
|
||||
</div>
|
||||
@@ -101,7 +96,9 @@ notification opens the associated app. <a href="{@docRoot}design/patterns/notifi
|
||||
|
||||
<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>
|
||||
|
||||
</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-col span-7">
|
||||
|
||||
<img src="{@docRoot}design/media/ui_overview_app_ui.png">
|
||||
<img src="{@docRoot}design/media/app_structure_drawer.png">
|
||||
|
||||
</div>
|
||||
<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>
|
||||
<li>
|
||||
<h4>Main Action Bar</h4>
|
||||
<p>The command and control center for your app. The main action bar includes elements for
|
||||
navigating your app's hierarchy and views, and also surfaces the most important actions.</p>
|
||||
<h4>Action Bar</h4>
|
||||
<p>The command and control center for your app. The action bar surfaces the most important actions
|
||||
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>
|
||||
</li>
|
||||
<li>
|
||||
<h4>View Control</h4>
|
||||
<p>Allows users to switch between the different views that your app provides. Views typically
|
||||
consist of different arrangements of your data or different functional aspects of your app.</p>
|
||||
<h4>Navigation Drawer</h4>
|
||||
<p>If your app's structure is more complex, the navigation drawer can display the main navigation
|
||||
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>
|
||||
<h4>Content Area</h4>
|
||||
<p>The space where the content of your app is displayed.</p>
|
||||
</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>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -10,9 +10,13 @@ footer.hide=1
|
||||
|
||||
#text-overlay {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 472px;
|
||||
width: 280px;
|
||||
left: 36px;
|
||||
top: 42px;
|
||||
width: 266px;
|
||||
|
||||
}
|
||||
#hero-image {
|
||||
padding-left:68px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -20,10 +24,11 @@ footer.hide=1
|
||||
<div id="text-overlay">
|
||||
Welcome to <strong>Android Design</strong>, your place for learning how to design exceptional Android apps.
|
||||
<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>
|
||||
|
||||
<a href="{@docRoot}design/get-started/creative-vision.html">
|
||||
<img src="{@docRoot}design/media/index_landing_page.png">
|
||||
<a id="hero-image" href="/design/get-started/creative-vision.html">
|
||||
<img src="/design/media/index_landing_page.png">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 196 KiB After Width: | Height: | Size: 251 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 148 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 148 KiB |
|
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 112 KiB |
|
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 80 KiB |
|
Before Width: | Height: | Size: 84 KiB After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 108 KiB |
|
Before Width: | Height: | Size: 154 KiB After Width: | Height: | Size: 227 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 57 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 202 KiB After Width: | Height: | Size: 459 KiB |
BIN
docs/html/design/media/branding_googlemusic.png
Normal file
|
After Width: | Height: | Size: 102 KiB |
BIN
docs/html/design/media/branding_launcher_icon.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
docs/html/design/media/branding_logo_icon_action_bar.png
Normal file
|
After Width: | Height: | Size: 142 KiB |
BIN
docs/html/design/media/branding_wallet.png
Normal file
|
After Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 162 KiB After Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 9.3 KiB |
BIN
docs/html/design/media/calendar.mp4
Normal file
BIN
docs/html/design/media/calendar.ogv
Normal file
BIN
docs/html/design/media/calendar.webm
Normal file
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 466 KiB After Width: | Height: | Size: 280 KiB |
|
Before Width: | Height: | Size: 265 KiB After Width: | Height: | Size: 222 KiB |
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 30 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 88 KiB After Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 130 KiB After Width: | Height: | Size: 166 KiB |
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 70 KiB |
BIN
docs/html/design/media/documents-export-2013-10-29.zip
Normal file
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 14 KiB |
BIN
docs/html/design/media/fullscreen_immersive_swipe_bottom.png
Normal file
|
After Width: | Height: | Size: 81 KiB |
BIN
docs/html/design/media/fullscreen_immersive_swipe_top.png
Normal file
|
After Width: | Height: | Size: 82 KiB |
BIN
docs/html/design/media/fullscreen_landing.png
Normal file
|
After Width: | Height: | Size: 166 KiB |
BIN
docs/html/design/media/fullscreen_leanback.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 16 KiB |
BIN
docs/html/design/media/gesture_doubletouchdrag.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 176 KiB |
|
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 244 KiB After Width: | Height: | Size: 197 KiB |
|
Before Width: | Height: | Size: 278 KiB After Width: | Height: | Size: 175 KiB |
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 256 KiB After Width: | Height: | Size: 269 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 168 KiB After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 156 KiB After Width: | Height: | Size: 137 KiB |
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 121 KiB |
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 119 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 32 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 55 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 216 KiB After Width: | Height: | Size: 207 KiB |
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 103 KiB |
|
Before Width: | Height: | Size: 107 KiB After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 161 KiB After Width: | Height: | Size: 137 KiB |
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 133 KiB After Width: | Height: | Size: 129 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 53 KiB |