d64322f4b9686fabfd5a03f402d50a8e3fe5aded |
|
28-Aug-2013 |
Chris Banes <chrisbanes@google.com> |
Fix onContentChanged not being called in appcompat https://code.google.com/p/android/issues/detail?id=59445 Change-Id: I66c9ae04b637ef0423451b24cb2f08c3798214ac
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
2bc5191a8cc331b404724759a015949a4b5499fb |
|
18-Jul-2013 |
Chris Banes <chrisbanes@google.com> |
Fix ABC ActionProvider visibility refresh The problem was <4.1's version of Activity.onPreparePanel checks to see if menu.hasVisibleItems() == true, whereas v4.1+ just ignores this and lets the menu presenter handle it. Bug: 9907372 Change-Id: Iea3fc048a1f147d1261dbd25615ccb92756b656c Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
9dcd2e58138ca4eb4b18f80b50e8979329e859d6 |
|
17-Jul-2013 |
Scott Main <smain@google.com> |
javadoc edits for support library Change-Id: Ie8f228036dc9d33315430490a2e03e9c504ada71
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
904507029cd8ea2d070b6df0911b2dd36b7075a6 |
|
25-Jun-2013 |
Chris Banes <chrisbanes@google.com> |
DO NOT MERGE Fix overwriting Action Bar title This commit fixes the Action Bar title being overwritten by the Activity title. The wrong method on ActionBarView was being called from Activity.onTitleChanged(), which didn't check to see if a title had been explicitly set. Bug: 9569582 Change-Id: I8c03fa03fc6fe34852896841fec52a3d24c080e6
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
89208232f3b5d1451408d787872504a190bc7ee0 |
|
31-May-2013 |
Chris Banes <chrisbanes@google.com> |
Remove Native Action Bar support for Honeycomb - Tweaked config & bool resources so that large & xlarge match the width qualified resources as much as possible. - Added CompatTextView which implements textAllCaps for all platforms. - Added @hide to internal classes which it was missing Bug: 9218989 Change-Id: I038d8ab7261d6c1d5cb039cd17903a43d09183c2 Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
725c4409c9d876a688466249ec7d2f1bdafa5fda |
|
30-May-2013 |
Jeff Brown <jeffbrown@google.com> |
Fix Theme.AppCompat.Light.DarkActionBar styling. The base themes need to propagate appcompat attributes such as actionBarWidgetTheme back into their framework counterparts to ensure that the correct styles are applied. This change specifically fixes one such problem but there will be others to be resolved later as part of this bug. Fix visibility of a couple of overridden methods in ActionBarActivity to match that of the base class. Bug: 9196417 Change-Id: I0799f22234109b1d6f4ef8c1bb39bc7530054c06
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
45d973fcc4c43f5ea00cddd3d9b947d9e8d8fc4e |
|
28-May-2013 |
Chris Banes <chrisbanes@google.com> |
ActionBarCompat support for ActionBarDrawerToggle Bug: 9167781 Change-Id: I927788a093d27e26b8b693766127f1a608d1b540
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
6f9952fd5a1dc66c584b26b9062ba6efd69ebcc7 |
|
13-May-2013 |
Chris Banes <chrisbanes@google.com> |
Tidy up Up Navigate for ActionBarActivity These came about as part of IOSched testing yesterday. - Split out the relevant NavUtils calls into seperate methods allowing apps to override. - More closely emulate v16's shouldUpRecreateTask() in base NavUtils - Adds an interface to TaskStackBuilder which allows ActionBarActivity to provide the parent intent. Change-Id: I4e158f6fa9e274f0a38ccfe0a98fc0e7cc4457b9 Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
03527a1c5ca870353671fd8b97a08a989fe62012 |
|
30-Apr-2013 |
Chris Banes <chrisbanes@google.com> |
Fix provided MenuInflater for Fragments This commit fixes the type of MenuInflater that is given to fragments when using ActionBarActivity. Currently, the platform version of MenuInflater is passed through, whereas SupportMenuInflater should be. Change-Id: I7a4504aeae2795e8d9d6f4cd4ecd20b8d4ea7602 Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
30837f1095c803f332f4a1c3f0917c8afdd50156 |
|
24-Apr-2013 |
Adam Powell <adamp@google.com> |
API changes for support action bar menus Refactor support action bar to use standard framework menu interfaces instead of additional interfaces. This simplifies the API and results in fewer disjoint callbacks which could make life difficult for library authors. SupportMenu/SupportMenuItem are now private implementation details of the support lib rather than interfaces used directly by app developers. Developers must use standard support shim *Compat classes to access new methods, and these shims are now aware of SupportMenu/SupportMenuItem and will do the right thing. Fix up a few other general issues and bugs. Change-Id: I833dce76485741b680bef84c1c0ed8d81ea57616
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
3a1a7fff9873abbf8097c96f7654a459bf34f223 |
|
19-Apr-2013 |
Jeff Brown <jeffbrown@google.com> |
appcompat: Add plumbing for fragment options menus. We make the callbacks available through an interface so that developers can implement them on any fragment without having to subclass ActionBarFragment. The plumbing is mainly transparent to v4 support although we needed access to a few properties. Bug: 8661191 Change-Id: I1abce746b7b8443efd406a3e1a4b92c948c678db
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
51e35e07a00e4b56a1ca330323e69ef9258c4e57 |
|
04-Apr-2013 |
Chris Banes <chrisbanes@google.com> |
Implement Up Navigation in Compat Action Bar This commits add ancestral navigation to the compat action bar. It uses the v4 class NavUtils for the large part: - Added support versions of up task creation methods to ActionBarActivity (onCreateNavigateUpTaskStack, etc) - Moved menu selected logic out of delegates and into ActionBarActivity. - Add finishAffinity shim into v4 support. Change-Id: I2b937434c5820aca162fdfa5665adc33d957bfb9 Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
b522f57d119f63f3c397ecfec94aaf6459e9f136 |
|
04-Apr-2013 |
Chris Banes <chrisbanes@google.com> |
Override and final-ise Menu methods This commit overrides and final-ises the standard framework methods in ActionBarActivity. They should not be overriden by devs as they are no longer called. Change-Id: I18d0601bfa6b37cf247dea16ec767ac0dcf9afbf Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
e77f24fdb79c4c0d9d4ae5f7c5e040f4a5bcab42 |
|
04-Apr-2013 |
Chris Banes <chrisbanes@google.com> |
Merge "Animate Action Bar show/hide" into jb-mr2-dev
|
a1fae63dbeeef71c2daa25bfcaa2348bffc369aa |
|
03-Apr-2013 |
Chris Banes <chrisbanes@google.com> |
Animate Action Bar show/hide This commit animates the showing or hiding of the compat Action Bar. This commit also fixes the hiding of the split Action Bar (animated or not). Change-Id: I38f1096be719809722c85ceffec14ebeac291863 Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
ed34e2dffd0ce7da89063d06fd3b25687ca367a2 |
|
02-Apr-2013 |
Chris Banes <chrisbanes@google.com> |
Add Progress Bar support to Action Bar This commit adds support for displaying a progress bar on the action: - Support version of Activity.setProgress* have been added to ActionBarActivity - We use the platform's ProgressBar styles, so remove the now unused drawable. - As a bit of tidy-up, I renamed the internal version of requestWindowFeature to match the public name. - Added ICS version of ProgressBar.java. This was was needed as ICS added a constructor which we need. Change-Id: I865fb3bc3039b30b9f784e1e7e8f5d8d9b5744d3 Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
556ac47ce764a4a9320b5ac914536e9da2524176 |
|
02-Apr-2013 |
Chris Banes <chrisbanes@google.com> |
Mimic PhoneWindow's initial menu creation (compat) This commit re-works the initial menu creation in ActionBarActivityDelegateCompat. This means that supportInvalidateOptionsMenu() can be called anywhere in onCreate without problem. Fixes 8474759. As a result, the now unused onPostCreate calls have been removed. This is exactly the same change as Ib376dfc52b51a066a117f0006cd02d50342186ac (which was approved), but I somehow managed to break my git branch while rebasing. Change-Id: I040eff668eb04c68700d8520cd712acf8f61281a Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
5a2bcc375e046c5b6644dcc4d331d3fca0778aed |
|
28-Mar-2013 |
Chris Banes <chrisbanes@google.com> |
Tidy up Delegates + Enforce AppCompat theme usage This commit moves all variables and state into the relevant delegate classes. This means that ActionBarActivity is now merely a call proxy and entry point. As we now have a common class amongst the delegates, I also fixed the issue where we do not enforce the usage of AppCompat styles. This will fix issue 8124469. Change-Id: If055906e754ceda471260f3160009cb384703ecd Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
d8222dedaacae30fa03bee346ebf42ee75b39928 |
|
26-Mar-2013 |
Chris Banes <chrisbanes@google.com> |
Expose support version of contextual Action Bar This commit exposes the contextual Action Bar to developers: - More drawables imported (sigh). - Using standard ActionButton style for Close button, didn't see the point of adding yet more drawables - Moved ActionMode.java out of internal - Added ActionModeWrapper for HC+ - Added onBackPressed support - Added relevant callbacks to ActionBarActivity Change-Id: I02996621e810db6875c86cc5965ecac769459c16 Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
3954d59cb6073615ead9dd34cbdba9e16b8c5b6f |
|
25-Mar-2013 |
Chris Banes <chrisbanes@google.com> |
Add Split Action Bar Support This commit fixes support for the split action bar on devices running < 3.0: - Imported ab_bottom* drawables - Added windowSplitActionBar attri - Added metadata parsing so which allows per-Activity enabling of split when narrow: <meta-data android:name="android.support.UI_OPTIONS" android:value="splitActionBarWhenNarrow" /> - The Activity delegate has been split out into a seperate abstract base class for common code. Change-Id: I9eba5c11aec69f3458de4f84aefc6fbd6c91b4c6 Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
6386aac7ea9be44d23dcea28d9a02110c174e988 |
|
25-Mar-2013 |
Chris Banes <chrisbanes@google.com> |
Extract platform impls out of ActionBarActivity At the moment ActionBarActivity is in a bit of a mess as it contains all of the platform specific delegate implementations as static inner classes. This commit extracts out each implementation into it's own source file. This makes it easier to development, and makes ActionBarActivity.java more readable. Change-Id: I9c7ad5861ce62f21bc6c559836f0cea22224ee2b Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
e6072e2d918169bd827cf7431347fb648124c227 |
|
21-Mar-2013 |
Jeff Brown <jeffbrown@google.com> |
Clean up action bar support library. Small initial refactoring. More to come. Added a SearchActionProvider to make it easy to embed SearchViewCompat within a support library action bar. Bug: 8175766 Change-Id: I4ddb16d8fce5d638a76027446128f7462c2095ce
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|
da10fdd1400ecfd8d7f2e55651dd528d0614dfc5 |
|
19-Mar-2013 |
Jeff Brown <jeffbrown@google.com> |
Move appcompat library to v7 package. Moved most of the options menu related functionality out of v4 support lib into appcompat where it belongs. These two libraries have very different design philosophies and it is important that they remain untangled. The support action bar options menu is broken by this change but will be fixed in later patches after some refactoring to more fully express the facade-like nature of the appcompat library. Collapsed the appcompat eclair, honeycomb and ics folders into one src folder because the layering did not make any sense. All of these folders were providing portions of the API. The layering will be reconstructed and improved in later patches. Moved implementation types into an internal package within appcompat to prevent them from leaking into the API. Changed the base package name to android.support.v7, similar to the gridlayout support lib. Bug: 8175766 Change-Id: I538cbe08310e63e96a2a9fed0b8636eeda530f2c
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivity.java
|