diff options
| author | Scott Main <smain@google.com> | 2011-11-17 12:32:11 -0800 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-11-17 12:32:11 -0800 |
| commit | 08d40d71806d482fa92f6a9b952487c3ccc63bb3 (patch) | |
| tree | b337edceb0266674eef5cb8d47d5013be80cd961 /docs/html/guide/practices | |
| parent | 69e24843fc89dcdd35802dbb6a2b693650ec8a41 (diff) | |
| parent | 258a51e3e687d4d469de501f17dd937cdc29019a (diff) | |
| download | frameworks_base-08d40d71806d482fa92f6a9b952487c3ccc63bb3.zip frameworks_base-08d40d71806d482fa92f6a9b952487c3ccc63bb3.tar.gz frameworks_base-08d40d71806d482fa92f6a9b952487c3ccc63bb3.tar.bz2 | |
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
Diffstat (limited to 'docs/html/guide/practices')
| -rw-r--r-- | docs/html/guide/practices/tablets-and-handsets.jd | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/html/guide/practices/tablets-and-handsets.jd b/docs/html/guide/practices/tablets-and-handsets.jd index 7bc1ad7..dc35801 100644 --- a/docs/html/guide/practices/tablets-and-handsets.jd +++ b/docs/html/guide/practices/tablets-and-handsets.jd @@ -372,9 +372,8 @@ tips to follow when creating your action bar:</p> value</strong>. In your <a href="{@docRoot}guide/topics/resources/menu-resource.html">menu resource</a>, use {@code "ifRoom"} for the {@code android:showAsAction} attribute if you'd like the menu item to appear in the action -bar. However, you might need {@code "always"} when an action view does not provide an alternative -action for the overflow menu (that is, it must appear as an action view) or when a menu item added -by a fragment is low in the menu order and it must jump into the action bar at all times. However, +bar. However, you might need {@code "always"} when an action view does not provide a default +action for the overflow menu (that is, it must appear as an action view). However, you should not use {@code "always"} more than once or twice. In almost all other cases, use {@code "ifRoom"} as the value for {@code "android:showAsAction"} when you want the item to appear as an action item. Forcing too many action items into the action bar can create a cluttered UI and |
