Searched refs:bar (Results 1 – 25 of 244) sorted by relevance
12345678910
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…9 …signers-material" href="http://www.google.com/design/spec/layout/structure.html#structure-app-bar">23 <p>The <em>action bar</em> is a dedicated piece of real estate at the top of each screen that is ge…31 <p>If you're new to writing Android apps, note that the action bar is one of the most important des…34 <p>The action bar is split into four different functional areas that apply to most apps.</p>66 If your app displays data in different views, this segment of the action bar allows users to switch81 action bar are moved automatically to the action overflow. Long-press on an icon to view the action…100 …adapt to such changes by using <em>split action bars</em>, which allow you to distribute action bar101 content across multiple bars located below the main action bar or at the bottom of the screen.</p>105 Split action bar showing action buttons at the bottom of the screen in vertical orientation.[all …]
27 <p>Android apps written for Android 3.0 and later display actions in the action bar. Actions that d…28 fit in the action bar or aren't important enough to be displayed at the top level appear in the30 <p>Users access the action overflow by touching it in the action bar.</p>44 …ndroid phones with traditional navigation hardware keys don't display the virtual navigation bar at61 controls, an action overflow control appears at the right side of the virtual navigation bar. You
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 …]
32 <p>By default, the action bar appears at the top of your activity window,34 If, during the course of user interaction, you want to hide and show the action bar, you can do so42 <p class="img-caption"><strong>Figure 1.</strong> Gallery's action bar in overlay mode.</p>45 <p>To avoid resizing your layout when the action bar hides and shows, you can enable <em>overlay46 mode</em> for the action bar. When in overlay mode, your activity layout uses all the space47 available as if the action bar is not there and the system draws the action bar in front of48 your layout. This obscures some of the layout at the top, but now when the action bar hides or52 If you want your layout to be partially visible behind the action bar, create a custom53 style for the action bar with a partially transparent background, such as the one shown54 in figure 1. For information about how to define the action bar background, read[all …]
36 <p>The action bar is one of the most important design elements you can implement for your49 <p>This training class offers a quick guide to the action bar's basics. For more information50 about action bar's various features, see the58 <dd>Learn how to add a basic action bar to your activity, whether your app62 <dd>Learn how to add and respond to user actions in the action bar.</dd>64 <dd>Learn how to customize the appearance of your action bar.</dd>66 <dd>Learn how to overlay the action bar in front of your layout, allowing for67 seamless transitions when hiding the action bar.</dd>
27 <p>In its most basic form, the action bar displays the title for the activity28 and the app icon on the left. Even in this simple form, the action bar33 <p class="img-caption"><strong>Figure 1.</strong> An action bar with the app icon and36 <p>Setting up a basic action bar requires that your app use an activity theme that enables37 the action bar. How to request such a theme depends on which version of Android is the45 <p>Beginning with Android 3.0 (API level 11), the action bar is included in all52 <p>So to add the action bar to your activities, simply set either attribute to67 all activities show the action bar. That's it.</p>73 <p>Adding the action bar when running on versions older than Android 3.0 (down to Android 2.1)105 <p>Now your activity includes the action bar when running on Android 2.1 (API level 7) or higher.
29 <p>The action bar allows you to add buttons for the most important action31 context. Those that appear directly in the action bar with an icon and/or text are known32 as <em>action buttons</em>. Actions that can't fit in the action bar or aren't36 <p class="img-caption"><strong>Figure 1.</strong> An action bar with an action button45 actions to the action bar, create a new XML file in your project's48 <p>Add an {@code <item>} element for each item you want to include in the action bar.67 <h3>Download action bar icons</h3>69 href="{@docRoot}design/style/iconography.html#action-bar">iconography</a> guidelines, you should71 <a href="{@docRoot}design/downloads/index.html#action-bar-icon-pack">Action Bar Icon Pack</a>.</p>75 is available in the action bar, but the[all …]
34 <p>The action bar provides your users a familiar and predictable way to perform36 same as it does in other apps. If you want to style the action bar to better fit your product40 <p>Android includes a few built-in activity themes that include "dark" or "light" action bar41 styles. You can also extend these themes to further customize the look for your action bar.</p>44 for the action bar, then you must use (or override) the {@link66 <p>Android includes two baseline activity themes that dictate the color for the action bar:91 <p>You can also use a dark action bar while the rest of the activity uses the light103 Theme.AppCompat.Light.DarkActionBar} for the light theme with a dark action bar.106 <p>Be sure that you use action bar icons that properly contrast with the color of your action107 bar. To help you, the <a href="{@docRoot}design/downloads/index.html#action-bar-icon-pack">Action[all …]
31 static int bar() {36 return bar();40 bar();
30 static int bar() {35 return bar();39 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();
114 <li>Each vertical bar represents one frame of rendering.115 The taller the bar, the longer it took to render.</li>142 the vertical bar for each frame needs143 to stay below this 16 ms mark. Any time a bar pushes above this line, there may be pauses in146 <li>Each bar has a blue, purple (only for Android version 4.0 and higher),149 <li>The <b>blue</b> section of the bar represents the time used to create and update the150 View's display lists. If this part of the bar is tall, there may be a153 <li>Android 4.0 and higher: The <b>purple</b> section of the bar represents the time spent156 <li>The <b>red</b> section of the bar represents the time spent by158 …display lists. The height of this bar is directly proportional to the sum of the time it takes each[all …]
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 …]
46 (a progress bar). If you can't estimate the length of the operation, use the61 To display a determinate progress bar, add the bar to your notification by calling65 progress bar is indeterminate (<strong>true</strong>) or determinate (<strong>false</strong>).74 You can either leave the progress bar showing when the operation is done, or remove it. In76 To remove the progress bar, call101 // Displays the progress bar for the first time.114 // Removes the progress bar133 <strong>Figure 1.</strong> The progress bar during and after the operation.</p>141 that has the same style as a progress bar, except that its animation is ongoing.164 call is set to {@code true} to indicate that the progress bar is
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 …]
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()