Home
last modified time | relevance | path

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

12345678910

/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…
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 switch
81 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 bar
101 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 …]
Dcompatibility.jd27 <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 the
30 <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 at
61 controls, an action overflow control appears at the right side of the virtual navigation bar. You
/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.jd32 <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 so
42 <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>overlay
46 mode</em> for the action bar. When in overlay mode, your activity layout uses all the space
47 available as if the action bar is not there and the system draws the action bar in front of
48 your layout. This obscures some of the layout at the top, but now when the action bar hides or
52 If you want your layout to be partially visible behind the action bar, create a custom
53 style for the action bar with a partially transparent background, such as the one shown
54 in figure 1. For information about how to define the action bar background, read
[all …]
Dindex.jd36 <p>The action bar is one of the most important design elements you can implement for your
49 <p>This training class offers a quick guide to the action bar's basics. For more information
50 about action bar's various features, see the
58 <dd>Learn how to add a basic action bar to your activity, whether your app
62 <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 for
67 seamless transitions when hiding the action bar.</dd>
Dsetting-up.jd27 <p>In its most basic form, the action bar displays the title for the activity
28 and the app icon on the left. Even in this simple form, the action bar
33 <p class="img-caption"><strong>Figure 1.</strong> An action bar with the app icon and
36 <p>Setting up a basic action bar requires that your app use an activity theme that enables
37 the action bar. How to request such a theme depends on which version of Android is the
45 <p>Beginning with Android 3.0 (API level 11), the action bar is included in all
52 <p>So to add the action bar to your activities, simply set either attribute to
67 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.
Dadding-buttons.jd29 <p>The action bar allows you to add buttons for the most important action
31 context. Those that appear directly in the action bar with an icon and/or text are known
32 as <em>action buttons</em>. Actions that can't fit in the action bar or aren't
36 <p class="img-caption"><strong>Figure 1.</strong> An action bar with an action button
45 actions to the action bar, create a new XML file in your project's
48 <p>Add an {@code &lt;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 should
71 <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 …]
Dstyling.jd34 <p>The action bar provides your users a familiar and predictable way to perform
36 same as it does in other apps. If you want to style the action bar to better fit your product
40 <p>Android includes a few built-in activity themes that include "dark" or "light" action bar
41 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 {@link
66 <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 light
103 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 action
107 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_function.rs31 static int bar() {
36 return bar();
40 bar();
Dbreakpoint_inlined_sourceline.rs30 static int bar() {
35 return bar();
39 bar();
Dcrash.rs26 static int bar() {
31 return bar();
35 bar();
Dbreakpoint_sourceline.rs26 static int bar() {
31 return bar();
35 bar();
Dbreakpoint_function.rs27 static int bar() {
32 return bar();
36 bar();
Dglobal_int.rs32 static int bar() {
37 return bar();
41 bar();
/frameworks/base/docs/html/tools/performance/profile-gpu-rendering/
Dindex.jd114 <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 needs
143 to stay below this 16 ms mark. Any time a bar pushes above this line, there may be pauses in
146 <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 the
150 View's display lists. If this part of the bar is tall, there may be a
153 <li>Android 4.0 and higher: The <b>purple</b> section of the bar represents the time spent
156 <li>The <b>red</b> section of the bar represents the time spent by
158 …display lists. The height of this bar is directly proportional to the sum of the time it takes each
[all …]
/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/base/docs/html/training/notify-user/
Ddisplay-progress.jd46 (a progress bar). If you can't estimate the length of the operation, use the
61 To display a determinate progress bar, add the bar to your notification by calling
65 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. In
76 To remove the progress bar, call
101 // Displays the progress bar for the first time.
114 // Removes the progress bar
133 <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
/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/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()

12345678910