/poppyview

Android library implementing a poppy view on scroll, similar to the one found in the Google Plus app

Primary LanguageJava

PoppyView

PoppyView is a library which implements view on the bottom which come and go relative to the user scroll. It can be seen in the Google plus app.

This library uses

  • techniques outlined by Cyril Mottier in a recent blog post.
  • NineOldAndroids by Jake Wharton here (for reasons of backwards compatibility)
  • ScrollTricks by Roman Nurik here

For reasons of backwards compatibility the sample relies on ActionBarSherlock.

Example Image

Example Image

Try out the sample APK here

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 NineOldAndroids.

Usage

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

Acknowledgements

  • Thanks to Cyril Mottier, Roman Nurik and Jake Wharton

License

Copyright 2013 Flavien Laurent

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.