d719539f91d4f5cf6c0f9be0b68b750dcd443433 |
|
22-Aug-2014 |
Yigit Boyar <yboyar@google.com> |
Fix RTL bug for actionbar tooltips Bug: 12570378 Change-Id: I13ba94c8b736a3a80a8d79e95bd18b93a1157303
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
e43340c80dc66c45edc793ecd0343774aa34d108 |
|
18-Mar-2014 |
Adam Powell <adamp@google.com> |
android.widget.Toolbar Add the new Toolbar widget for use in app layouts. ActionBar can now be used as a point of control for either a traditional window decor action bar or for a Toolbar that appears inline in an Activity's layout. ToolbarActionBar is currently WIP. Change-Id: I0da093e5645840f4fd032aa34efa0ae5f1825ff2
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
56110725f2a0b3f09703f2cbe9705d97609ee1e5 |
|
10-Jan-2014 |
Alan Viverette <alanv@google.com> |
Move drag-to-open handling into ActionMenuItemView This prevents the menu item's OnClickListener from being overwritten, allows the client to override item invocation, and prevents showing multiple popups when items are re-initialized. BUG: 11969895 BUG: 12489213 Change-Id: I97ca737810073df348171cdba5442f24a5527f89
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
fa18d182a3f37505940e73ae6cd76c2e939f7f7c |
|
08-Jan-2014 |
Adam Powell <adamp@google.com> |
Move ActionMenuView into android.widget and make it public Expose ActionMenuView as a way for applications to present ActionBar-style menus in other embedded or repeating contexts. Change-Id: I54b7ccd9b2116ca68bc72956da9262bca9d5085f
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
617feb99a06e7ffb3894e86a286bf30e085f321a |
|
10-Sep-2013 |
Alan Viverette <alanv@google.com> |
Add View constructor that supplies a default style resource Also updates the constructor of every class that extends View. BUG: 10676369 Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
d5c81db1e78e98f3e0a1a5cf206865c3056294c4 |
|
02-Aug-2012 |
Adam Powell <adamp@google.com> |
Fix some ActionBar menu issues around config changes Bug 6904212 Update allow-text and max item height properties for action bar menu item views properly. Fix an ActionMenuItemView measurement bug that could cause items to measure too small. Change-Id: Ibac8491f7670969b0ae4584fff5e44ebd1435abd
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
c1eea136eaae62091b44d7b06a3d61ac694e4fd7 |
|
31-Jul-2012 |
Adam Powell <adamp@google.com> |
Fix bug 6906134 Change-Id: I47dfa1e503e502fe348a350dad960fbb112435e7
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
c0047d4e111b8cfbffdbebb55f846c7ae935e53e |
|
30-Jul-2012 |
Adam Powell <adamp@google.com> |
Enforce a maximum size for action button icons. Change-Id: Id9b5c1573cd40012229921fa8497cbe5ce340b1e
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
aac0d4ed026d1cfbcf3fa81c6e4eb96f4347ca17 |
|
20-Jul-2012 |
Fabrice Di Meglio <fdimeglio@google.com> |
Replace left/right with start/end for Gravity / LayoutParams / Padding - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: Id9af5375fb9b0edeae5232c77e52ecd497bd2e67
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
367ee326058bbee6fc179b8b1eb2174fe7ba8f45 |
|
07-May-2012 |
Adam Powell <adamp@google.com> |
Limit item heights in split action bars Bug 6449422 Overzealous action views should not be able to cause action bars to take up a huge amount of space. Fixed text alignment on action buttons Change-Id: Ic28d6dacdb6933c63b323f5ed6a6cab5d3726938
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
75d022af1f24cf2d8a7551183ea5bbe943d25d21 |
|
06-Mar-2012 |
Adam Powell <adamp@google.com> |
Action buttons are now 1 view instead of 3. Change-Id: I42afe0e4bd20c3dbe86e2c43a6bc1d776361dca9
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
24340afbab8ad4c191784fda8023407205bc0a75 |
|
01-Nov-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5534667 - Action bar icons need more space on tablet Set a wider minimum width for the action button style on -sw600dp. Fix an annoying bug where recycled ActionMenuItemViews would retain a lingering pressed state, causing an unrelated button to glow briefly. The home/up affordance should not be focusable when it is disabled. Change-Id: Ia68f3d09f5d977f50e4e33c354d8133367187973
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
7bc3ca0dc52be52ecad1c0de8c62a6a4bf8141ca |
|
27-Aug-2011 |
Adam Powell <adamp@google.com> |
Accessibility fixes for action bars Fix bug 5220543 - fix accessibility events for action buttons Fix bug 5224260 - fix accessibility events for home/up Change-Id: I7d55b4819862e1eda0809da92c52ec2d97f36af0
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
7b5e9e6c1c7098b6d7b2c6f9ab0c316f0f66109e |
|
16-Aug-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5167078 - Show a 'cheat sheet' popup for icon-only action buttons Action buttons: now less confusing! Change-Id: I5c96effa64a2cdde22b71523b99ab489869fc245
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
7f8f79a1ff086c04a3ad2a442b1d39a8186e3e50 |
|
08-Jul-2011 |
Adam Powell <adamp@google.com> |
Add ALL CAPS style to TextView/TextAppearance Switch out ugly hack in action menu items for the new style. Change-Id: I68a0ed62a352b14d499e6478b82bbc12dcb5a030
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
2c742c2aebf20a0534c822eb8a36da99d9df79fe |
|
07-Jul-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5000009 - NPE in Phone UI Change-Id: I9c5c2c73b340192d754949865b6e4ee4a9a324ff
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
35aecd5884a5ccfe380903e39f30f468315e8f92 |
|
01-Jul-2011 |
Adam Powell <adamp@google.com> |
Updates for action menus Sync with UX designs for action menus in split action bar mode. Layout is now based on a grid cell scheme. Tweak action menu item layouts. Fix some bugs with drawing LinearLayout dividers. Rename config resources to follow convention. Action bar menu items now show text in ALL CAPS. This is done in a locale-dependent manner, but if it produces problems in specific locales the config resource config_actionMenuItemAllCaps should be set to false for that locale. Change-Id: I064c2dd85e012e89551f29153efcfc17f9106333
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
c619e74cc62678cef09b5f92e87e762a1f02aab7 |
|
01-Jun-2011 |
Gilles Debunne <debunne@google.com> |
ActionBar makes room for icons when no title is provided Change-Id: I5bd09e00b50496032deda40ea22367d727230611
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
696cba573e651b0e4f18a4718627c8ccecb3bda0 |
|
29-Mar-2011 |
Adam Powell <adamp@google.com> |
Refactor menu internals. In the old world, MenuBuilder and MenuItemImpl were responsible for generating views for any presentation of a menu. MenuBuilder needed to know any types and resources involved, and the implied caching semantics did not work well for menus presented within AdapterViews. In the new world, the MenuPresenter interface takes over the responsibility of generating views or adapters for menu items. MenuBuilder/MenuItemImpl still provide extra metadata tracking used by these presenters. Mutiple presenters may be active for a single menu at a time. All of this remains internal framework implementation details. BaseMenuPresenter provides a simple base for presenters that treats the host MenuView more like an AdapterView. This allows for less rebuilding of views when items are added/removed. Callbacks have been restructured. Calls that relate to the menu itself are still handled by MenuBuilder.Callback, but calls related to a specific presentation of a menu are handled by MenuPresenter.Callback objects attached to a MenuPresenter. Also add API to programmatically set divider options for LinearLayout and hidden API so that ActionBarView can have finer-grained control over divider placement. Change-Id: I2265b86a084279822908021aec20dfbadc1bb56b
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
6bddd8771d05889024778caa78fb1eaae68a0802 |
|
24-Mar-2011 |
Adam Powell <adamp@google.com> |
Fix bug 4084399 - with usb keyboard, actionbar menuitems with icon+text take dpad focus twice in row Fix action menu item layout focusability so that only the full item is focusable. Fix up listeners appropriately. Change-Id: I127c36404894869a08c5f4472491e3e596563c5c
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
9f125d341521efc8535e32e35a641be50d405c36 |
|
15-Jan-2011 |
Adam Powell <adamp@google.com> |
Fix bug 3339039 - Preserve proper behavior for action button text when updated. Change-Id: If3529616d5a2b69638b2b0c4070d5ebbb418410c
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
e7d468410b3a783560d5158a5798cef1b4b67702 |
|
14-Jan-2011 |
Adam Powell <adamp@google.com> |
Rework action bar menus. Fix bug 3328810 - remove icons from action bar overflow menu. Popup menus now will not show icons. Give popup menu items a minimum width. Alter the sizing of popup menus. Fix bug 3192635 - revise rules for action menu dividers. Dividers now appear between the overflow button and any other items next to it, and anywhere they disambiguate touch targets between text and other content. Action views are on their own and should include their own dividers if needed. Remove dividers from around action bar spinners and tabs. Change-Id: I935b48b473606ac2adde5e2b251bf30ebe2a3da9
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
d8404b23739b135060ab9a04317a9f8b990cf8ca |
|
13-Oct-2010 |
Adam Powell <adamp@google.com> |
Allow icon+text action buttons Change-Id: I96d1f3958de3ac13cadbab108b87d6bae96e9473
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
be4d68e7b238b8ee879de0481e39c40d3f1683b6 |
|
09-Oct-2010 |
Adam Powell <adamp@google.com> |
Updated styles and metrics. * Added preliminary ButtonGroup support for buttons that display as a unit. * Fixed a bug with MenuBuilder that caused old-style icon menus to fail. * Added support for explicitly setting line height in text. Change-Id: I1ba65f09dd9e1bc833d247ebe72052a21e3f99f0
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
00df32d4396a65752b7b9a2f8ceb6292ed2384cf |
|
02-Sep-2010 |
Adam Powell <adamp@google.com> |
Handle disabled state for action menu items Change-Id: Id80926aef5f8f2f47703a7b1e3da38e6117edb30
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
1f9c7afc5a06576e327a4b1c12688202f53d9462 |
|
03-Aug-2010 |
Adam Powell <adamp@google.com> |
Add support for action buttons without an icon. Change-Id: I026bb7463e7a73419dbaf79950d579ba05d04ea8
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
a8a72c38fec3879f5d346840b0d186d5903931b8 |
|
01-Aug-2010 |
Jeff Sharkey <jsharkey@android.com> |
Populate accessibility field on ActionBar items. When building an ActionMenuItemView, set the content description based on the item title. Fixes http://b/2885106 Change-Id: I101bbc6db7080ce08eed1bbb401c45329da2ab53
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|
96675b1df3969f2d313b68f60ed9fa36805db8ce |
|
11-Jun-2010 |
Adam Powell <adamp@google.com> |
Merging ActionBar menu with options menu. 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
/frameworks/base/core/java/com/android/internal/view/menu/ActionMenuItemView.java
|