diff options
author | Scott Main <smain@google.com> | 2011-10-25 12:11:40 -0700 |
---|---|---|
committer | Scott Main <smain@google.com> | 2011-11-17 12:24:31 -0800 |
commit | 258a51e3e687d4d469de501f17dd937cdc29019a (patch) | |
tree | 22b89890c3230f38827db5e37904060bd025d3ed /docs/html/guide/practices | |
parent | 7d4c4721c6dd5473464d4620749b302a413c7ebd (diff) | |
download | frameworks_base-258a51e3e687d4d469de501f17dd937cdc29019a.zip frameworks_base-258a51e3e687d4d469de501f17dd937cdc29019a.tar.gz frameworks_base-258a51e3e687d4d469de501f17dd937cdc29019a.tar.bz2 |
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
Change-Id: If61a5f2aad5ed21b0b23b3fc14309a50617f86ce
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 |