blob: 948b934611cac08195a32bbf7e252c475edb2e3d [file] [log] [blame]
page.title=Style for Android Wear
<p>Here are a number of design considerations to bear in mind that are particular to Android Wear.</p>
<img src="{@docRoot}design/media/wear/circle_message2.png" height="200"
style="float:right;margin:32px 0 50px 40px;">
<img src="{@docRoot}design/media/wear/fitness.png" height="200"
style="float:right;margin:32px 0 50px 40px;">
<h2 id="ScreenSize">Screen Size</h2>
<p>Be mindful of different device sizes and shapes. Wearable devices are a form of fashion and expression for their owners, and so Android Wear supports a variety of forms. Most of the complexities of supporting these different devices is taken care of at a system level, but bear in mind different screen types when designing custom full screen apps.</p>
<p>Use the Android Wear emulator to test both square and round devices, and note that <a
href="{@docRoot}training/wearables/apps/layouts.html#UiLibrary"><code>WatchViewStub</code></a> is available to activities to detect whether a square or round device is being used.</p>
<div class="layout-content-row">
<div class="layout-content-col span-6">
<img src="{@docRoot}design/media/wear/assets_specifics.png" width="300"
style="margin:32px 0 20px;">
<div class="layout-content-col span-7">
<h2 id="Assets" style="clear:both">Specific Assets Required</h2>
<p>A core set of standard assets may need to be provided depending on your card design: app icon, background image or images, action icons, actions confirmation animation. Of course, your specific design may necessitate other assets. Background image should be provided in landscape format at least 600px width for notifications that include pages of cards, since the system automatically adds a parallaxing effect.</p>
<div class="layout-content-row">
<div class="layout-content-col span-6">
<h2 id="PeekCard" style="clear:both">Peek Card Readability</h2>
<p>Test your card layout to ensure that useful information is conveyed in the peek state on the Home screen. The main message of the card should be readable in the peek state, particularly for contextual cards. Content that requires an interaction to be read, for example a long message, should be cropped appropriately to provide an affordance to the user to swipe the card to read more.</p>
<div class="layout-content-col span-6">
<img src="{@docRoot}design/media/wear/peek-card.png" width="300"
style="margin:12px 0 0 20px">
<img src="{@docRoot}design/media/wear/low_info_card.png" width="147" height="147"
style="float:right;margin:29px 0 20px 40px">
<h2 id="InfoDensity" style="margin-top:0" >Low Information Density</h2>
<p>Cards should be designed to be glanceable in a split second, just like reading the time on a traditional watch. In most cases a pairing of an icon and value, or a title and short caption should be enough to convey a meaningful message. Note that the background photo should also be used to convey information; backgrounds that change to reflect and support the primary message in the card work great. For example, in the case illustrated above a suitable background image is chosen to reflect severity of the current traffic conditions. This is not just a nice piece of attention to detail; the background actually reinforces the message and makes the content more glanceable.</p>
<img src="{@docRoot}design/media/wear/separate_info_cards.jpg" height="147"
style="float:right;margin:29px 0 20px 40px">
<h2 id="Chunks">Separate Information into Chunks</h2>
<p>In cases where additional information is absolutely necessary, dont crowd out a card layout to the point where glanceability is affected. Instead, add an additional <a href="{@docRoot}design/wear/patterns.html#Pages">page</a> (or multiple pages, if needed) to the right of the main card in the stream to which the user can swipe for more information. See also <a
href="{@docRoot}design/wear/patterns.html#Continuing">Continuing activities on phone</a>.</p>
<h2 id="KeepMinimum" style="clear:both">Keep Notifications to a Minimum</h2>
<p>Dont abuse the users attention. Active notifications (that is, those that cause the device to vibrate) should only be used in cases that are both timely and involve a contact, for example receiving a message from a friend. Non-urgent notifications should be silently added to the Context Stream. See also the general Android Notifications Guidelines.</p>
<img src="{@docRoot}design/media/wear/clear_bold_type.jpg" height="147"
style="float:left;margin:19px 40px 20px 0">
<h2 id="Typography" >Use Clear, Bold Typography</h2>
<p>The system font is Roboto Condensed, with Regular and Light variants. Text should adhere to the size and color recommendations (see the UI Toolkit in the <a href="{@docRoot}design/downloads/index.html#Wear">Downloads</a> page). In general, text should be displayed as large as possible. Your goal should be to convey maximum information with minimum fuss.</p>
<h2 id="Branding" style="clear:both" >Use Consistent Branding and Color</h2>
<p>The app icon is used to identify and brand your application. The icon is optional but when present always appears in the same location, overhanging the top edge of the card at the right. Note that app icons or branding should not be displayed in the background photo, which is reserved to display an image relevant to the information on the card.</p>
<img src="{@docRoot}design/media/wear/copywrite.png" height="147"
style="float:left;margin:19px 40px 20px 0">
<h2 id="Copywrite" >Copywrite Sparingly</h2>
<p>Omit needless text. Design for glanceability, not reading. Use words and phrases, not sentences. Use icons paired with values instead of text wherever possible. Text strings should be as concise as possible, and long pieces of text will be truncated to fit on a single card.</p>
<h2 id="BeDiscreet" style="clear:both" >Be Discreet if Necessary</h2>
<p>Wearables are personal devices by nature, but they are not completely private. If your notification serves content that may be particularly sensitive or embarrassing (such as notifications from a dating app or a medical status report), consider not displaying all of the information in a peek card. A notification could place the sensitive information on a second page that must be swiped to, or an application could show different amounts of detail in peek and focused card positions.</p>
<img src="{@docRoot}design/media/wear/confirmation.png" height="147"
style="float:left;margin:29px 40px 20px 0">
<h2 id="ConfirmAnim">Confirmation Animations</h2>
<p>If your app allows the user to perform an action, it is necessary to provide positive feedback. Show a generic confirmation animation or create your own. A confirmation animation is an opportunity to express your apps character and insert a moment of delight for your user. Keep animations short (less than 1000ms) and simple. Animating the confirmation icon is an effective way of transitions the user to a new state after completing an action.</p>