Skip to content

Android library implementing a fading effect for the action bar, similar to the one found in the Play Music app

License

Notifications You must be signed in to change notification settings

junjie0324/FadingActionBar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FadingActionBar

FadingActionBar is a library which implements the cool fading action bar effect that can be seen in the new Play Music app.

This library uses the techniques outlined by Cyril Mottier in a recent blog post.

For reasons of backwards compatibility this library relies on ActionBarSherlock. If your app uses the native action bar, there is a fork for you.

Example Image

Try out the sample application:

Android app on Google Play

Or browse the source code of the sample application for a complete example of use.

Including in your project

Just add the library to your application as a library project. And don't forget that your project must use ActionBarSherlock!

Or if you use maven, add the following dependency to your pom:

<dependency>
    <groupId>com.github.manuelpeinado.fadingactionbar</groupId>
    <artifactId>fadingactionbar</artifactId>
    <version>2.2.2</version>
    <type>apklib</type>
</dependency>

Usage

Using the library is really simple, just look at the source code of the provided samples:

You can even use the library from a fragment, which is useful when implementing a dual phone/tablet layout.

Tutorials for all these scenarios are in the works

Acknowledgements

  • Thanks to Cyril Mottier for sharing the techniques that make this library possible.
  • Thanks to Antonio Leiva for writing the Navigation Drawer sample.

Who's using it

  • #ДАНСwithme. This app attempts to organise information from various social network streams into a single source.

Does your app use FadingActionBar? If you want to be featured on this list drop me a line.

Developed By

Manuel Peinado Gallego - manuel.peinado@gmail.com

Follow me on Twitter Follow me on Google+ Follow me on LinkedIn
Copyright 2013 Manuel Peinado

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Android library implementing a fading effect for the action bar, similar to the one found in the Play Music app

Resources

License

Stars

Watchers

Forks

Packages

No packages published