1 page.title=Phones & Tablets 2 @jd:body 3 4 <p> 5 Android's system UI provides the framework on top of which you build your app, 6 whether you're designing for phones, tablets, watches, or other form factors. 7 Aspects of UI that are especially important for phones and tablets include 8 the Home screen experience, global device navigation, and notifications. 9 </p> 10 11 <p> 12 Your app will play an important part in keeping the overall Android experience 13 consistent and enjoyable to use. This page introduces some of the main elements 14 that can help you achieve this goal. The main Android Design topics listed on 15 the left, after the Devices sections, provide detailed guidelines for phones 16 and tablets. 17 </p> 18 19 <h2 id="home-all-apps-recents">Home, All Apps, and Recents</h2> 20 21 <div class="vspace size-1"> </div> 22 23 <div class="layout-content-row"> 24 <div class="layout-content-col span-4"> 25 26 <img src="{@docRoot}design/media/ui_overview_home_screen.png"> 27 28 <h4>Home screen</h4> 29 <p>Home is a customizable space that houses app shortcuts, folders and widgets. Navigate between 30 different home screen panels by swiping left and right.</p> 31 <p>The Favorites Tray at the bottom always keeps your most important shortcuts and folders in view 32 regardless of which panel is currently showing.</p> 33 <p>Access the entire collection of apps and widgets by touching the All Apps button at the center of 34 the Favorites Tray.</p> 35 36 </div> 37 <div class="layout-content-col span-4"> 38 39 <img src="{@docRoot}design/media/ui_overview_all_apps.png"> 40 41 <h4>All apps screen</h4> 42 <p>The All Apps screen lets you browse the entire set of apps and widgets that are installed on your 43 device.</p> 44 <p>Users can drag an app or widget icon from the All Apps screen and place it in any empty location on 45 any Home screen.</p> 46 47 </div> 48 <div class="layout-content-col span-4"> 49 50 <img src="{@docRoot}design/media/ui_overview_recents.png"> 51 52 <h4>Recents screen</h4> 53 <p>Recents provides an efficient way of switching between recently used applications. It provides a 54 clear navigation path between multiple ongoing tasks.</p> 55 <p>The Recents button at the right side of the navigation bar displays the apps that the user has 56 interacted with most recently. They are organized in reverse chronological order with the most 57 recently used app at the bottom.</p> 58 <p>Switch to an app by touching it. Remove an item by swiping left or right.</p> 59 60 </div> 61 </div> 62 63 <h2 id="system-bars">System Bars</h2> 64 65 <p>The system bars are screen areas dedicated to the display of notifications, communication of device 66 status, and device navigation. Typically the system bars are displayed concurrently with your app. 67 Apps that display immersive content, such as movies or images, can temporarily hide the system bars 68 to allow the user to enjoy full screen content without distraction.</p> 69 70 <img src="{@docRoot}design/media/ui_overview_system_ui.png"> 71 72 <div class="with-callouts"> 73 74 <ol> 75 <li> 76 <h4>Status Bar</h4> 77 <p>Displays pending notifications on the left and status, such as time, battery level, or signal 78 strength, on the right. Swipe down from the status bar to show notification details.</p> 79 </li> 80 <li> 81 <h4>Navigation Bar</h4> 82 <p>New for phones in Android 4.0, the navigation bar is present only on devices that don't have 83 the traditional hardware keys. It houses the device navigation controls Back, Home, and 84 Recents, and also displays a menu for apps written for Android 2.3 or earlier.</p> 85 </li> 86 </ol> 87 88 </div> 89 90 <h2 id="notifications">Notifications</h2> 91 92 <p>Notifications are brief messages that users can access at any time from the status bar. They 93 provide updates, reminders, or information that's important, but not critical enough to warrant 94 interrupting the user. Open the notifications drawer by swiping down on the status bar. Touching a 95 notification opens the associated app. <a href="{@docRoot}design/patterns/notifications.html">More on Notifications</a></p> 96 97 <div class="layout-content-row"> 98 <div class="layout-content-col span-4"> 99 100 <img src="{@docRoot}design/media/ui_overview_notifications.png"> 101 102 </div> 103 <div class="layout-content-col span-9"> 104 105 <img src="{@docRoot}design/media/notifications_dismiss.png"> 106 107 <p>Notifications can be expanded to uncover more details and relevant actions. When collapsed, notifications 108 have a one-line title and a one-line message.The recommended layout for a notification includes two lines. 109 If necessary, you can add a third line.</p> 110 <p>Swiping a notification right or left removes it from the notification drawer.</p> 111 112 </div> 113 </div> 114 115 116 <h2 id="app">Common App UI</h2> 117 118 119 <div class="layout-content-row"> 120 <div class="layout-content-col span-7"> 121 122 <img src="{@docRoot}design/media/app_structure_drawer.png"> 123 124 </div> 125 <div class="layout-content-col span-6 with-callouts"> 126 127 <p>A typical Android app uses action bars, and many apps will include a navigation drawer.</p> 128 <ol> 129 <li> 130 <h4>Action Bar</h4> 131 <p>The command and control center for your app. The action bar surfaces the most important actions 132 for the current view, and may include simple controls for switching between views.</p> 133 <p><a href="{@docRoot}design/patterns/actionbar.html">More on the Action Bar</a></p> 134 </li> 135 <li> 136 <h4>Navigation Drawer</h4> 137 <p>If your app's structure is more complex, the navigation drawer can display the main navigation 138 options. The navigation drawer expands from the left edge of the screen, overlaying the content 139 area but not the action bar.</p> 140 <p><a href="{@docRoot}design/patterns/navigation-drawer.html">More on the Navigation Drawer</a></p> 141 </li> 142 <li> 143 <h4>Content Area</h4> 144 <p>The space where the content of your app is displayed.</p> 145 </li> 146 </ol> 147 148 </div> 149 </div> 150