summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/ActionBarView.java
Commit message (Collapse)AuthorAgeFilesLines
* Added context modes to ActionBar API.Adam Powell2010-06-291-528/+0
| | | | Change-Id: I7c3e782cbf01be7bc671b377fb4d706040888833
* Action bar button layout changes.Adam Powell2010-06-181-5/+8
| | | | | | | | Theme attribute added for spacing between action buttons. Action buttons are now allowed to fill up to half of the total action bar's width. Change-Id: Iabbc67e695684529dfae9681d4d9580cd30839d0
* Merging ActionBar menu with options menu.Adam Powell2010-06-171-216/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | Options menu items may now specify if they would like to appear in the action bar. Menu items defined in xml may set the showAsAction attribute to one of "never"(default), "ifRoom", or "always". Action buttons are populated as follows: * All showAsAction="always" items become action buttons, even if it would crowd the navigation area of the action bar. * If there is space remaining, showAsAction="ifRoom" items are added until no more will fit comfortably. Action button click events are now handled by the onOptionsItemSelected method used by the standard options menu. The construction of options menus now happens earlier in order to provide data to the action bar. Activities with an action bar can now expect to have onCreateOptionsMenu called when activity start-up is complete. Activity#invalidateOptionsMenu can be used to force a refresh of menu items where the previous API would use ActionBar#updateActionMenu. Change-Id: If52ddf1cf9f6926206bcdeadf42072ea2c24fab9
* Dropdown mode for ActionBar; style and API updatesAdam Powell2010-06-081-25/+68
|
* ActionBar - custom navigation viewsAdam Powell2010-05-141-28/+62
| | | | Change-Id: Ibc98565816c713474eefd4e96fb51175abfb0187
* ActionBar added to framework, integrated with Activity and styles.Adam Powell2010-05-131-0/+625
Added onClick attribute support to menus in MenuInflater. Change-Id: I739771b4f249d87a0d8b15969f3d526b099067a1