Skip to content

Commit 08d40d7

Browse files
scottamainAndroid (Google) Code Review
authored andcommitted
Merge "docs: Big update to action bar guide for ICS. Added section for action provider, new APIs for handsets such as split action bar, more information and diagrams for up navigation, guidelines for picking action items, revised sample code and discussion for tabs, add expandible action view info, and expanded discussion for customizing action bar styles bug:4726917" into ics-mr0
2 parents 69e2484 + 258a51e commit 08d40d7

13 files changed

+1057
-443
lines changed

docs/html/guide/guide_toc.cs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ localized titles are added in the language order specified below.
119119
</a></li>
120120
<li><a href="<?cs var:toroot ?>guide/topics/ui/actionbar.html">
121121
<span class="en">Action Bar</span>
122-
</a></li>
122+
</a> <span class="new">updated</span></li>
123123
<li><a href="<?cs var:toroot ?>guide/topics/ui/dialogs.html">
124124
<span class="en">Dialogs</span>
125125
</a></li>
@@ -739,21 +739,21 @@ localized titles are added in the language order specified below.
739739
<ul>
740740
<li class="toggle-list">
741741
<div><a href="<?cs var:toroot ?>guide/practices/ui_guidelines/icon_design.html">
742-
<span class="en">Icon Design <span class="new">updated</span></span>
743-
</a></div>
742+
<span class="en">Icon Design</span>
743+
</a> <span class="new">updated</span></div>
744744
<ul>
745745
<li><a href="<?cs var:toroot ?>guide/practices/ui_guidelines/icon_design_launcher.html">
746-
<span class="en">Launcher Icons <span class="new">updated</span></span>
747-
</a></li>
746+
<span class="en">Launcher Icons</span>
747+
</a> <span class="new">updated</span></li>
748748
<li><a href="<?cs var:toroot ?>guide/practices/ui_guidelines/icon_design_menu.html">
749749
<span class="en">Menu Icons</span>
750750
</a></li>
751751
<li><a href="<?cs var:toroot ?>guide/practices/ui_guidelines/icon_design_action_bar.html">
752-
<span class="en">Action Bar Icons <span class="new">new!</span></span>
753-
</a></li>
752+
<span class="en">Action Bar Icons</span>
753+
</a> <span class="new">new!</span></li>
754754
<li><a href="<?cs var:toroot ?>guide/practices/ui_guidelines/icon_design_status_bar.html">
755-
<span class="en">Status Bar Icons <span class="new">updated</span></span>
756-
</a></li>
755+
<span class="en">Status Bar Icons</span>
756+
</a> <span class="new">updated</span></li>
757757
<li><a href="<?cs var:toroot ?>guide/practices/ui_guidelines/icon_design_tab.html">
758758
<span class="en">Tab Icons</span>
759759
</a></li>
@@ -766,8 +766,8 @@ localized titles are added in the language order specified below.
766766
</ul>
767767
</li>
768768
<li><a href="<?cs var:toroot ?>guide/practices/ui_guidelines/widget_design.html">
769-
<span class="en">App Widget Design <span class="new">updated</span></span>
770-
</a></li>
769+
<span class="en">App Widget Design</span>
770+
</a> <span class="new">updated</span></li>
771771
<li><a href="<?cs var:toroot ?>guide/practices/ui_guidelines/activity_task_design.html">
772772
<span class="en">Activity and Task Design</span>
773773
</a></li>
@@ -844,8 +844,8 @@ localized titles are added in the language order specified below.
844844
<span class="en">App Install Location</span>
845845
</a></li>
846846
<li><a href="<?cs var:toroot ?>guide/appendix/media-formats.html">
847-
<span class="en">Supported Media Formats <span class="new">updated</span></span>
848-
</a></li>
847+
<span class="en">Supported Media Formats</span>
848+
</a> <span class="new">updated</span></li>
849849
<li><a href="<?cs var:toroot ?>guide/appendix/g-app-intents.html">
850850
<span class="en">Intents List: Google Apps</span>
851851
</a></li>

docs/html/guide/practices/tablets-and-handsets.jd

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,9 +372,8 @@ tips to follow when creating your action bar:</p>
372372
value</strong>. In your <a
373373
href="{@docRoot}guide/topics/resources/menu-resource.html">menu resource</a>, use {@code "ifRoom"}
374374
for the {@code android:showAsAction} attribute if you'd like the menu item to appear in the action
375-
bar. However, you might need {@code "always"} when an action view does not provide an alternative
376-
action for the overflow menu (that is, it must appear as an action view) or when a menu item added
377-
by a fragment is low in the menu order and it must jump into the action bar at all times. However,
375+
bar. However, you might need {@code "always"} when an action view does not provide a default
376+
action for the overflow menu (that is, it must appear as an action view). However,
378377
you should not use {@code "always"} more than once or twice. In almost all other cases, use {@code
379378
"ifRoom"} as the value for {@code "android:showAsAction"} when you want the item to appear as an
380379
action item. Forcing too many action items into the action bar can create a cluttered UI and

0 commit comments

Comments
 (0)