History log of /frameworks/base/core/java/android/app/ActionBar.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cf1ba0298c48ae56608ed556dc715eb69c54f9b9 26-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Make ActionBar aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Iea8a512311ee99548f39bbbe342f21eabaffbe09
/frameworks/base/core/java/android/app/ActionBar.java
3a3a6cfd8ec12208ca75c0d0d871d19d76c34194 26-Mar-2012 Dianne Hackborn <hackbod@google.com> Add new feature to let apps layout over status bar / system bar.

The main change is a few new flags you can supply to
View.setSystemUiVisibility(). One is a new visibility mode,
SYSTEM_UI_FLAG_FULLSCREEN, which is basically the same as
the global FLAG_FULLSCREEN option for windows, but driven as
part of the system UI state.

There are also three new flags for telling the framework that you
would like to have your application's UI ignore screen
decorations -- SYSTEM_UI_FLAG_LAYOUT_NO_NAVIGATION for going
behind the navigation bar and SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
for ignoring full screen decorations (that is the status bar).

In combination with this you can use SYSTEM_UI_FLAG_LAYOUT_STABLE
to have the framework report consistent insets to your application.

When using NO_NAVIGATION, when the user taps the screen we now
also automatically clear ONLY_CONTENT, so that we atomically show
both UI elements. This should make it easy for apps like video
players that want to move between fully full-screen and regular
modes.

The ActionBar has also been extended when in overlay mode so
that it will adjust the system window insets to also account
for its space, and allow it to be hidden using the new
SYSTEM_UI_FLAG_FULLSCREEN.

Change-Id: Ic8db1adec49a0f420bfe40c1d92eb21307856d0b
/frameworks/base/core/java/android/app/ActionBar.java
b54e7a3d9f60ac605f404f9eb3c5e92ca51bbd23 04-Oct-2011 Joe Fernandez <joefernandez@google.com> docs: add developer guide cross-references, Project ACRE

Change-Id: I5df1c4e13af67ff4c4a5b22f3cb1247bf0103b09
/frameworks/base/core/java/android/app/ActionBar.java
e797ed6a74593630219faf7f0ba5dc8235586bce 23-Sep-2011 Scott Main <smain@google.com> docs: a few additions and revisions to action bar docs

Change-Id: I12c24e5d4ed49d8f9822050d330f617bd614b7b9
/frameworks/base/core/java/android/app/ActionBar.java
ab0f485e64418eb22f0a1d89d7064902b381e9c2 13-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix problems where we were allocating TypedArray when not needed.

Fixes up some recycling of TypedArray objects to reduce the
number we need to allocate during inflation etc.

Change-Id: I948dccc052997779001eaa99db2a710b04be01ae
/frameworks/base/core/java/android/app/ActionBar.java
0145322e82f640f33befa7cb517a793d12abfb57 08-Sep-2011 Adam Powell <adamp@google.com> Empty implementations of new ActionBar methods.

Makes mocks happy!

Change-Id: Ib69dd3b3e0d62e2d1301103d8e3dfcec5e9b03ab
/frameworks/base/core/java/android/app/ActionBar.java
f88b915567a37c481c4c50a6cc57e1ec0e7cf50d 07-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5258435 - ActionBar.setBackgroundDrawable

Fix this call to work properly and add methods for setting
split/stacked bar backgrounds to match existing styleable elements.

Change-Id: I8c6b1c598af1110f84a9098683d8e0226daf2e27
/frameworks/base/core/java/android/app/ActionBar.java
94e56ef3b8de6ed485546b462559ac862c10eabf 07-Sep-2011 Adam Powell <adamp@google.com> Bug 5249855 - Add support for content descriptions on action bar tabs

Add API support for supplying content descriptions on action bar tabs.
This helps accessibility in cases where no title text is shown.

Change-Id: I8fdc4c2f2b279871b9f24b0b16e5167879b22741
/frameworks/base/core/java/android/app/ActionBar.java
88ab69780f58e4b32d497266b2ad646a4d74827b 28-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5087752 - Maintain correct contrast against action bars in
inverse-bar themes

Add the actionBarWidgetTheme theme attribute. This lets a theme
specify a wrapper theme that can be used to create views that will
end up in the action bar so that the rest of the code can ignore
differences in contrast. (e.g. the inverse action bar themes.)

Apps can use ActionBar#getThemedContext() to obtain a Context with a
proper theme for views that will end up in the action
bar. MenuInflaters generated by Activities will automatically use this
to properly theme inflated action views.

Change-Id: Ib28c82bf47c25d446cca2a63f617b8a4a0afa6b2
/frameworks/base/core/java/android/app/ActionBar.java
36193d09a87035395d036a730038b765ac0b0913 13-Jul-2011 Scott Main <smain@google.com> cherrypick Change-Id: I4713d3977a0a1514ff9c4217e7f3723c0346d0d8
docs: revise ActionBar class summary and add a few links to dev guide docs

Change-Id: I14df84b16d7bdab85aa74d8b8211e988b0519115
/frameworks/base/core/java/android/app/ActionBar.java
c29f4e52c3377924df26910cce3ff26278d1f484 14-Jul-2011 Adam Powell <adamp@google.com> Nicer API for disabling/enabling the home/up button in action bars.

Have an explicit call for enabling the home/up button. Auto-enable it
if the app targets < ICS to preserve Honeycomb behavior. Auto-enable
it if the app shows home as up.

This prevents unwanted touch/focus feedback on the home button when
the app hasn't wired it up to do anything useful.

Change-Id: Icfe95ab5a11b3998bca08b0fbbfe1bf6c3c89b5d
/frameworks/base/core/java/android/app/ActionBar.java
a7f88508d307c7554968ad3d1c1c58895ea3a223 17-Jun-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 872a1e79 to master

Change-Id: I50253b22f181729d4e748970acf1a3ad868ccd74
2f04883ff880966d63d1aa4a1c7b05e497cfcc58 16-Jun-2011 Dianne Hackborn <hackbod@google.com> SDK only: integrate new sample code, deprecating along the way.

The new support library features and sample code for switching
between fragments using a TabHost now eliminates the utility of
the TabActivity class, so deprecate it. This also means there is
no longer any use in ActivityGroup or LocalActivityManager. Yay.

Also fix up things so the new support API demos are included in
the documentation.

Change-Id: I4f073b82787f32560ba1fa5b6a23746ecc8aecdc
/frameworks/base/core/java/android/app/ActionBar.java
dae7824c4b78d02159c6ad0896f246942d7b3d8c 26-Apr-2011 Adam Powell <adamp@google.com> Action bar work for phones

Drop tabs to a second row at < w480dp

Make 9-patches for the cab's "done" button thinner

Add a "disable home" display option to the action bar to turn off
focus and touch feedback when tapping home would do nothing

Change-Id: Ib2eedf311655f02055357321e2e9ad5b9037fed1
/frameworks/base/core/java/android/app/ActionBar.java
1969b8799085322f9ef6e75b78c2c9a5d5944801 22-Mar-2011 Adam Powell <adamp@google.com> Fix bug 4142917 - Add support for specifying a custom home icon in action bar

Add ActionBar methods for setting icon and logo.

Change-Id: I6151689138c734b7212c3469b8ba8f28f0fd5ec4
/frameworks/base/core/java/android/app/ActionBar.java
1264c33163146d6088675d197551a63b3f9d360b 20-Jan-2011 Adam Powell <adamp@google.com> Fix bug 3362375 - API REVIEW: remove unused public 'up' id

Fix bug 3362453 - API REVIEW: android.app.ActionBar

Change-Id: I4e0233cd9355a47682bfe7b4a7fda39801586f1a
/frameworks/base/core/java/android/app/ActionBar.java
3f476b34049d062942eafcf48396f593e00bd324 04-Jan-2011 Adam Powell <adamp@google.com> Revisiting ActionBar API and layout.

Fix several bugs where ActionBar was ignoring LayoutParams in action
views.

Add convenience methods for toggling display options flags.

Add layout resource version of ActionBar#setCustomView

Fix a bug preventing actionViewClasses from being loaded properly in
menu xml.

Change-Id: I0d9a0b635fd9cfc020bac69369c0c7749c226349
/frameworks/base/core/java/android/app/ActionBar.java
cf0357639e952a87f0d535c82691919af81f058b 06-Dec-2010 Adam Powell <adamp@google.com> Clean up button bar styles

Change-Id: I65b6600f72b92db024f83b63d3ea91abc1cbb96c
/frameworks/base/core/java/android/app/ActionBar.java
8515ee846bd76aee86ec5ddfcc4dd1e626dd999c 30-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3240444 - add OnMenuVisibilityListener for action bar.

Fix bug 3180015 - leaking window handles on configuration change for
action bar dropdown menus

Rename ActionBar.NavigationCallback to something more consistent with
the rest of the API.

Change-Id: Ic1fb4c07484c57a72649b30e27d220b18cda6cdf
/frameworks/base/core/java/android/app/ActionBar.java
32555f347974711aac1f0c9acc0f06e8676d9362 17-Nov-2010 Adam Powell <adamp@google.com> Add resource ID variants of ActionBar tab setters

Bugs 3204153 and 2901235

Change-Id: Ib430f96da77f8e7647b22d190243a2fcd766d842
/frameworks/base/core/java/android/app/ActionBar.java
ef704447689cb991049d31e67be41e66e8a44b6d 16-Nov-2010 Adam Powell <adamp@google.com> Improve docs around ActionBar as noted in bug 3111444.

Rename method that was missed in previous ActionBar
refactoring. Deprecated previous version for compatibility for apps in
development.

Change-Id: I2c466aed8ed620aec5056026257e131fadf8843e
/frameworks/base/core/java/android/app/ActionBar.java
0c24a5514c1ff143a223720a090b19a86a75945f 04-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3156280 - Fix several issues with tab navigation in action bars.

Add the ability to restrict a FragmentTransaction's ability to be
added to the back stack. (It doesn't make sense for tabs or other
scenarios to allow this.)

Change-Id: I8fa2edb5f35c365e2483010ad13eb9993f5e6570
/frameworks/base/core/java/android/app/ActionBar.java
81b8944131946e451b31665652de8cc71d81ea07 03-Nov-2010 Adam Powell <adamp@google.com> Fix bug 3093591 - add richer control over default tab selection in ActionBar

Added overloads to ActionBar#addTab with control over whether the added tab
will become selected or not. Old versions implemented in terms of the new.

Change-Id: I810c64652bb7e755b81151ce8a2c765266d78a66
/frameworks/base/core/java/android/app/ActionBar.java
5ad7af6fc764f71765b134b8cd51787a7e78753a 01-Nov-2010 Ben Komalo <benkomalo@google.com> Minor Javadoc fix.

Change-Id: I4978e8a493f393390e05e7e6a0179854997e86ce
/frameworks/base/core/java/android/app/ActionBar.java
9ab978713ce86fdaefed2407f4f3c998ab0e3178 27-Oct-2010 Adam Powell <adamp@google.com> Action bar API updates - new display options

Change-Id: I55e56cd7aafa53994990079e88ef85e4eb1a0b3f
/frameworks/base/core/java/android/app/ActionBar.java
7f9b90542e05b350d14bd63c16446c8ce2baf407 20-Oct-2010 Adam Powell <adamp@google.com> Add ActionBar tab callback method onTabReselected

onTabReselected is called if an already-selected tab is chosen again.
For many apps this will be a no-op, but some may treat it as a signal
to return to the top level of a given navigation category.

Change-Id: Ic51fbe477b979562f2d848c4070b2016b217a90f
/frameworks/base/core/java/android/app/ActionBar.java
2b6230e0de4bac2829ac27b19e95ba75c3da82b4 08-Sep-2010 Adam Powell <adamp@google.com> Reworking the ActionBar tab API

Change-Id: Ifbcdc61b4a24633cc1a329c73923b95b03e9ecf0
/frameworks/base/core/java/android/app/ActionBar.java
6b336f835d637853800b94689375a03f337139a4 11-Aug-2010 Adam Powell <adamp@google.com> ActionBar overlay mode, height fetching, show/hide

Change-Id: Ie931ed26ec885d891d6733132b517a53d95f8491
/frameworks/base/core/java/android/app/ActionBar.java
a66c7b04567a584d73bc4dba2711f5d815e4932d 29-Jul-2010 Adam Powell <adamp@google.com> Add support for setting action bar title/subtitle by resource ID

Change-Id: I91b6f56bd3736fd7cc8b82cbbf0b7be2e1c718e5
/frameworks/base/core/java/android/app/ActionBar.java
178097727fab0f41810b1ffd4baf84ff8ed32c42 21-Jul-2010 Adam Powell <adamp@google.com> Fix bug 2859423 - action bar: need a way to choose item in spinner

Change-Id: Idf9c222e5d8f27b4339a6df7d14f3f10dcb4be2c
/frameworks/base/core/java/android/app/ActionBar.java
ac695c608ba620e2362f57126d7be453cf5b7e1b 21-Jul-2010 Adam Powell <adamp@google.com> Refactored contextual modes out of action bar.

Change-Id: I1fc1c9383e5ee90f135b92a5afa8eadbf1c13d20
/frameworks/base/core/java/android/app/ActionBar.java
29ed7575c2129974a57ad77b3531bc5995940c6c 15-Jul-2010 Adam Powell <adamp@google.com> Bug 2841148 - Add accessors for action bar context mode state.

Change-Id: I04f3efce5a692b346756cc80c8d15f3abba10558
/frameworks/base/core/java/android/app/ActionBar.java
661c908e4e26c99adc2cab7558a02129eaee059d 02-Jul-2010 Adam Powell <adamp@google.com> ActionBar tab mode using fragments; needs styles.

Change-Id: I8f931dae447e7b64de827d3c17766e5f8ad794e2
/frameworks/base/core/java/android/app/ActionBar.java
0e94b5151d817e600a888448a662208b29b5ef46 30-Jun-2010 Adam Powell <adamp@google.com> Add subtitles for action bars and context modes.

Fix an issue where context mode content was cleared before animating out.

Change-Id: Ie7a065e65bc18e3da32de07543d0f71d2a2d648c
/frameworks/base/core/java/android/app/ActionBar.java
89e0645b4157961e8c465eb9c819f965fdb453d8 24-Jun-2010 Adam Powell <adamp@google.com> Added context modes to ActionBar API.

Change-Id: I7c3e782cbf01be7bc671b377fb4d706040888833
/frameworks/base/core/java/android/app/ActionBar.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/android/app/ActionBar.java
4dc643eb6749afe5211198c920e739475590f92c 13-Jun-2010 Wink Saville <wink@google.com> Fix some javadoc link/see's to fix the build for the sdk-win_sdk target.

Change-Id: I243c19d3d7f1ed2decbd6bfc7ecbe6ce2b582fc2
/frameworks/base/core/java/android/app/ActionBar.java
a408291e22def5755559f42cde913706a6d628c0 05-Jun-2010 Adam Powell <adamp@google.com> Dropdown mode for ActionBar; style and API updates
/frameworks/base/core/java/android/app/ActionBar.java
a1700783b52c3f4e6b52ea425cdce93c74936586 13-May-2010 Adam Powell <adamp@google.com> ActionBar - custom navigation views

Change-Id: Ibc98565816c713474eefd4e96fb51175abfb0187
/frameworks/base/core/java/android/app/ActionBar.java
33b974393b6fadcefc896ec4a0f9b66724f61e9f 20-Apr-2010 Adam Powell <adamp@google.com> ActionBar added to framework, integrated with Activity and styles.
Added onClick attribute support to menus in MenuInflater.

Change-Id: I739771b4f249d87a0d8b15969f3d526b099067a1
/frameworks/base/core/java/android/app/ActionBar.java