Home
last modified time | relevance | path

Searched refs:bar (Results 1 – 25 of 199) sorted by relevance

12345678

/frameworks/base/docs/html/training/system-ui/
Dstatus.jd18 <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 of
48 Android. Hiding the status bar (and optionally, the navigation bar) lets the
54 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 setting
75 manifest file is the preferred approach if the status bar should always remain
[all …]
Dnavigation.jd43 <p>This lesson describes how to hide the navigation bar, which was introduced in
47 navigation bar, you should design your app to hide the status bar
53 <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 the
63 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 you
68 // hide the navigation bar.
76 <li>With this approach, touching anywhere on the screen causes the navigation bar (and
[all …]
Dvisibility.jd64 // adjustments to your UI, such as showing the action bar or
68 // adjustments to your UI, such as hiding the action bar or
74 <p>It's generally good practice to keep your UI in sync with changes in system bar
75 visibility. For example, you could use this listener to hide and show the action bar in
76 concert with the status bar hiding and showing.</p>
/frameworks/base/docs/html/design/patterns/
Dactionbar.jd3 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 switch
74 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 bar
94 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 …]
Dselection.jd25 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 removes
91 <p>For information about how to create a contextual action bar, read
101 bar (CAB).</p>
112 inside your app's action bar.</p>
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dicon_design_status_bar.jd52 <p>Status bar icons are used to represent notifications from your application in
53 the status bar.</p>
71 <p><strong>Warning:</strong>The style and dimensions of status bar icons have changed dramatically
76 <li>Place status bar icons for Android 3.0 and later in the
79 <li>Place status bar icons for Android 2.3 in the
82 <li>Place status bar icons for previous versions in
94 <p>The following guidelines describe how to design status bar icons for Android
100 <p>The design for status bar (notification) icons has been revised in Android 3.0. Status bar icons
105 <li>Status bar icons are composed simply of <strong>white pixels on a transparent
109 small amount of internal padding can help maintain balance across status bar icons. See
[all …]
/frameworks/base/docs/html/training/basics/actionbar/
Doverlaying.jd30 <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 so
40 <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>overlay
44 mode</em> for the action bar. When in overlay mode, your activity layout uses all the space
45 available as if the action bar is not there and the system draws the action bar in front of
46 your layout. This obscures some of the layout at the top, but now when the action bar hides or
50 If you want your layout to be partially visible behind the action bar, create a custom
51 style for the action bar with a partially transparent background, such as the one shown
52 in figure 1. For information about how to define the action bar background, read
[all …]
Dindex.jd35 <p>The action bar is one of the most important design elements you can implement for your
48 <p>This training class offers a quick guide to the action bar's basics. For more information
49 about action bar's various features, see the
57 <dd>Learn how to add a basic action bar to your activity, whether your app
61 <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 for
66 seamless transitions when hiding the action bar.</dd>
Dsetting-up.jd25 <p>In its most basic form, the action bar displays the title for the activity
26 and the app icon on the left. Even in this simple form, the action bar
31 <p class="img-caption"><strong>Figure 1.</strong> An action bar with the app icon and
34 <p>Setting up a basic action bar requires that your app use an activity theme that enables
35 the action bar. How to request such a theme depends on which version of Android is the
43 <p>Beginning with Android 3.0 (API level 11), the action bar is included in all
50 <p>So to add the action bar to your activities, simply set either attribute to
65 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.
Dadding-buttons.jd27 <p>The action bar allows you to add buttons for the most important action
29 context. Those that appear directly in the action bar with an icon and/or text are known
30 as <em>action buttons</em>. Actions that can't fit in the action bar or aren't
34 <p class="img-caption"><strong>Figure 1.</strong> An action bar with an action button
43 actions to the action bar, create a new XML file in your project's
46 <p>Add an {@code &lt;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 should
69 <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 …]
Dstyling.jd32 <p>The action bar provides your users a familiar and predictable way to perform
34 same as it does in other apps. If you want to style the action bar to better fit your product
38 <p>Android includes a few built-in activity themes that include "dark" or "light" action bar
39 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 {@link
64 <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 light
101 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 action
105 bar. To help you, the <a href="{@docRoot}design/downloads/index.html#action-bar-icon-pack">Action
[all …]
/frameworks/compile/libbcc/tests/debuginfo/target-tests/
Dbreakpoint_inlined_sourceline.rs30 static int bar() {
35 return bar();
39 bar();
Dbreakpoint_inlined_function.rs31 static int bar() {
36 return bar();
40 bar();
Dcrash.rs26 static int bar() {
31 return bar();
35 bar();
Dbreakpoint_function.rs27 static int bar() {
32 return bar();
36 bar();
Dbreakpoint_sourceline.rs26 static int bar() {
31 return bar();
35 bar();
Dglobal_int.rs32 static int bar() {
37 return bar();
41 bar();
/frameworks/base/docs/html/guide/topics/ui/
Dactionbar.jd21 <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, and
66 provides user actions and navigation modes. Using the action bar offers your users a
71 <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, you
113 action bar</em> for displaying contextual action items, see the <a
122 bar, you must set up your project with the <strong>appcompat v7</strong> support library by
[all …]
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dtest_info_sources.cpp25 static int bar() { in bar() function
30 return bar(); in main()
Dfunc_invoke_and_crash.cpp23 static int bar() { in bar() function
28 return bar(); in main()
Daggregate-indirect-arg.cpp19 void bar(SVal &v) {} in bar() function
22 void foo(SVal v) { bar(v); } in foo()
/frameworks/base/docs/html/training/material/
Dtheme.jd31 according to your brand identity with a color palette you control. You can tint the action bar and
32 the status bar using theme attributes, as shown in <a href="#fig3">Figure 3</a>.</p>
84 &lt;!-- your app branding color for the app bar -->
86 &lt;!-- 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 a
105 set a custom color for the status bar, use the <code>android:statusBarColor</code> attribute when
109 <p>You can also draw behind the status bar yourself. For example, if you want to show
110 the status bar transparently over a photo, with a subtle dark gradient to ensure the white
117 <strong>Note:</strong> The status bar should almost always have a clear delineation from the
123 only the status bar. The navigation bar should remain black in all other cases.</p>
/frameworks/base/docs/html/guide/practices/
Dtablets-and-handsets.jd14 <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 the
100 <p>You can enable items from the options menu to appear directly in the action bar as "action
101 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 and
107 handsets. For a detailed discussion of the action bar APIs, read the <a
128 <p class="note"><strong>Note:</strong> Aside from one feature in the action bar, all the
[all …]
/frameworks/base/docs/html/training/notify-user/
Ddisplay-progress.jd48 (a progress bar). If you can't estimate the length of the operation, use the
63 To display a determinate progress bar, add the bar to your notification by calling
67 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. In
78 To remove the progress bar, call
103 // Displays the progress bar for the first time.
116 // Removes the progress bar
135 <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
/frameworks/base/docs/html/design/building-blocks/
Dprogress.jd12bar 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>
37bar (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…

12345678