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.
Try out the sample application:
Or browse the source code of the sample application for a complete example of use.
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>
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
- Thanks to Cyril Mottier for sharing the techniques that make this library possible.
- Thanks to Antonio Leiva for writing the Navigation Drawer sample.
- #ДАНС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.
Manuel Peinado Gallego - manuel.peinado@gmail.com
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.