Searched refs:bar (Results 1 – 25 of 199) sorted by relevance
12345678
18 <li><a href="#action-bar">Synchronize the Status Bar with Action Bar Transition</a></li>47 This lesson describes how to hide the status bar on different versions of48 Android. Hiding the status bar (and optionally, the navigation bar) lets the54 Figure 1 shows an app with a visible status bar:59 <p class="img-caption"><strong>Figure 1.</strong> Visible status bar.</p>62 Figure 2 shows an app with a hidden status bar. Note that the action bar is hidden too.63 You should never show the action bar without the status bar.68 <p class="img-caption"><strong>Figure 2.</strong> Hidden status bar.</p>72 <p>You can hide the status bar on Android 4.0 (API level 14) and lower by setting75 manifest file is the preferred approach if the status bar should always remain[all …]
43 <p>This lesson describes how to hide the navigation bar, which was introduced in47 navigation bar, you should design your app to hide the status bar53 <img src="{@docRoot}images/training/navigation-bar.png"55 <p class="img-caption"><strong>Figure 1.</strong> Navigation bar.</p>61 <p>You can hide the navigation bar on Android 4.0 and higher using the63 the navigation bar and the status bar:</p>65 // Hide both the navigation bar and the status bar.67 // a general rule, you should design your app to hide the status bar whenever you68 // hide the navigation bar.76 <li>With this approach, touching anywhere on the screen causes the navigation bar (and[all …]
64 // adjustments to your UI, such as showing the action bar or68 // adjustments to your UI, such as hiding the action bar or74 <p>It's generally good practice to keep your UI in sync with changes in system bar75 visibility. For example, you could use this listener to hide and show the action bar in76 concert with the status bar hiding and showing.</p>
3 page.metaDescription=The Action bar is an essential design element for all apps. Learn about what t…16 <p>The <em>action bar</em> is a dedicated piece of real estate at the top of each screen that is ge…24 <p>If you're new to writing Android apps, note that the action bar is one of the most important des…27 <p>The action bar is split into four different functional areas that apply to most apps.</p>59 If your app displays data in different views, this segment of the action bar allows users to switch74 action bar are moved automatically to the action overflow. Long-press on an icon to view the action…93 …adapt to such changes by using <em>split action bars</em>, which allow you to distribute action bar94 content across multiple bars located below the main action bar or at the bottom of the screen.</p>98 Split action bar showing action buttons at the bottom of the screen in vertical orientation.107 for action bar content:</p>[all …]
25 the contextual action bar (CAB).</p>38 <h4>Using the contextual action bar</h4>39 …="description">The contextual action bar (CAB) is a temporary action bar that overlays your app's …54 <li>Dismiss the CAB via the navigation bar's Back button or the CAB's checkmark button. This removes91 <p>For information about how to create a contextual action bar, read101 bar (CAB).</p>112 inside your app's action bar.</p>
52 <p>Status bar icons are used to represent notifications from your application in53 the status bar.</p>71 <p><strong>Warning:</strong>The style and dimensions of status bar icons have changed dramatically76 <li>Place status bar icons for Android 3.0 and later in the79 <li>Place status bar icons for Android 2.3 in the82 <li>Place status bar icons for previous versions in94 <p>The following guidelines describe how to design status bar icons for Android100 <p>The design for status bar (notification) icons has been revised in Android 3.0. Status bar icons105 <li>Status bar icons are composed simply of <strong>white pixels on a transparent109 small amount of internal padding can help maintain balance across status bar icons. See[all …]
30 <p>By default, the action bar appears at the top of your activity window,32 If, during the course of user interaction, you want to hide and show the action bar, you can do so40 <p class="img-caption"><strong>Figure 1.</strong> Gallery's action bar in overlay mode.</p>43 <p>To avoid resizing your layout when the action bar hides and shows, you can enable <em>overlay44 mode</em> for the action bar. When in overlay mode, your activity layout uses all the space45 available as if the action bar is not there and the system draws the action bar in front of46 your layout. This obscures some of the layout at the top, but now when the action bar hides or50 If you want your layout to be partially visible behind the action bar, create a custom51 style for the action bar with a partially transparent background, such as the one shown52 in figure 1. For information about how to define the action bar background, read[all …]
35 <p>The action bar is one of the most important design elements you can implement for your48 <p>This training class offers a quick guide to the action bar's basics. For more information49 about action bar's various features, see the57 <dd>Learn how to add a basic action bar to your activity, whether your app61 <dd>Learn how to add and respond to user actions in the action bar.</dd>63 <dd>Learn how to customize the appearance of your action bar.</dd>65 <dd>Learn how to overlay the action bar in front of your layout, allowing for66 seamless transitions when hiding the action bar.</dd>
25 <p>In its most basic form, the action bar displays the title for the activity26 and the app icon on the left. Even in this simple form, the action bar31 <p class="img-caption"><strong>Figure 1.</strong> An action bar with the app icon and34 <p>Setting up a basic action bar requires that your app use an activity theme that enables35 the action bar. How to request such a theme depends on which version of Android is the43 <p>Beginning with Android 3.0 (API level 11), the action bar is included in all50 <p>So to add the action bar to your activities, simply set either attribute to65 all activities show the action bar. That's it.</p>71 <p>Adding the action bar when running on versions older than Android 3.0 (down to Android 2.1)103 <p>Now your activity includes the action bar when running on Android 2.1 (API level 7) or higher.
27 <p>The action bar allows you to add buttons for the most important action29 context. Those that appear directly in the action bar with an icon and/or text are known30 as <em>action buttons</em>. Actions that can't fit in the action bar or aren't34 <p class="img-caption"><strong>Figure 1.</strong> An action bar with an action button43 actions to the action bar, create a new XML file in your project's46 <p>Add an {@code <item>} element for each item you want to include in the action bar.65 <h3>Download action bar icons</h3>67 href="{@docRoot}design/style/iconography.html#action-bar">iconography</a> guidelines, you should69 <a href="{@docRoot}design/downloads/index.html#action-bar-icon-pack">Action Bar Icon Pack</a>.</p>73 is available in the action bar, but the[all …]
32 <p>The action bar provides your users a familiar and predictable way to perform34 same as it does in other apps. If you want to style the action bar to better fit your product38 <p>Android includes a few built-in activity themes that include "dark" or "light" action bar39 styles. You can also extend these themes to further customize the look for your action bar.</p>42 for the action bar, then you must use (or override) the {@link64 <p>Android includes two baseline activity themes that dictate the color for the action bar:89 <p>You can also use a dark action bar while the rest of the activity uses the light101 Theme.AppCompat.Light.DarkActionBar} for the light theme with a dark action bar.104 <p>Be sure that you use action bar icons that properly contrast with the color of your action105 bar. To help you, the <a href="{@docRoot}design/downloads/index.html#action-bar-icon-pack">Action[all …]
30 static int bar() {35 return bar();39 bar();
31 static int bar() {36 return bar();40 bar();
26 static int bar() {31 return bar();35 bar();
27 static int bar() {32 return bar();36 bar();
32 static int bar() {37 return bar();41 bar();
21 <li><a href="#Removing">Removing the action bar</a></li>28 <li><a href="#SplitBar">Using split action bar</a></li>65 <p>The action bar is a window feature that identifies the user location, and66 provides user actions and navigation modes. Using the action bar offers your users a71 <p class="img-caption"><strong>Figure 1.</strong> An action bar that includes the [1] app icon,74 <p>The action bar provides several key functions:</p>85 <p>For more information about the action bar's interaction patterns and design guidelines,94 support library's action bar</b>, but if your app supports <em>only</em> Android 3.0 or higher, you113 action bar</em> for displaying contextual action items, see the <a122 bar, you must set up your project with the <strong>appcompat v7</strong> support library by[all …]
25 static int bar() { in bar() function30 return bar(); in main()
23 static int bar() { in bar() function28 return bar(); in main()
19 void bar(SVal &v) {} in bar() function22 void foo(SVal v) { bar(v); } in foo()
31 according to your brand identity with a color palette you control. You can tint the action bar and32 the status bar using theme attributes, as shown in <a href="#fig3">Figure 3</a>.</p>84 <!-- your app branding color for the app bar -->86 <!-- darker variant for the status bar and contextual app bars -->103 <p>The material theme lets you easily customize the status bar, so you can specify a105 set a custom color for the status bar, use the <code>android:statusBarColor</code> attribute when109 <p>You can also draw behind the status bar yourself. For example, if you want to show110 the status bar transparently over a photo, with a subtle dark gradient to ensure the white117 <strong>Note:</strong> The status bar should almost always have a clear delineation from the123 only the status bar. The navigation bar should remain black in all other cases.</p>
14 <li><a href="#SplitActionBar">Using split action bar</a></li>62 optimized user experience on both handsets and tablets, using fragments and the action bar.</p>92 <li><strong>Use the action bar</strong>, but follow best practices and ensure your design 93 is flexible enough for the system to adjust the action bar layout based on the screen size.96 title bar at the top of the screen. By default, the action bar includes the application logo on the100 <p>You can enable items from the options menu to appear directly in the action bar as "action101 items". You can also add navigation features to the action bar, such as tabs or a drop-down list,106 <p>This guide provides some tips for using the action bar in ways that support both tablets and107 handsets. For a detailed discussion of the action bar APIs, read the <a128 <p class="note"><strong>Note:</strong> Aside from one feature in the action bar, all the[all …]
48 (a progress bar). If you can't estimate the length of the operation, use the63 To display a determinate progress bar, add the bar to your notification by calling67 progress bar is indeterminate (<strong>true</strong>) or determinate (<strong>false</strong>).76 You can either leave the progress bar showing when the operation is done, or remove it. In78 To remove the progress bar, call103 // Displays the progress bar for the first time.116 // Removes the progress bar135 <strong>Figure 1.</strong> The progress bar during and after the operation.</p>143 that has the same style as a progress bar, except that its animation is ongoing.166 call is set to {@code true} to indicate that the progress bar is
12 …bar should always fill from 0% to 100% and never move backwards to a lower value. If multiple oper…18 Progress bar in Holo Dark and Holo Light.25 <p>Two styles are available: a bar and a circle. Each is offered in a variety of sizes, in both Hol…36 <li class="value-1"><h4>Activity bar</h4>37 …bar (in Holo Dark) appears when a user first requests a download. There's an unknown period of tim…68 <p>The standard progress bar and activity indicators work well for most situations and should be us…