Need help with ImageCoverFlow?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

452 Stars 134 Forks 8 Commits 2 Opened issues


To show coverflow effect on android

Services available


Need anything else?

Contributors list

# 157,200
8 commits


To show Cover Flow effect on Android

ImageCoverFlow is an open source Android library that allows developers to easily create applications with a cover flow effect to show images. This library does not extend Gallery. Feel free to use it all you want in your Android apps provided that you cite this project and include the license in your app.

Oops! The screenshot is missing!

ImageCoverFlow is currently used in some published Android apps:

  1. ICardEnglish
  2. PNP iSerbis

How to Use:

Step One: Add
to your project

  1. Via XML:

  1. Programatically (via Java):
CoverFlowView mCoverFlowView =
    (CoverFlowView) findViewById(;

mCoverFlowView.setCoverFlowGravity(CoverFlowGravity.CENTER_VERTICAL); mCoverFlowView.setCoverFlowLayoutMode(CoverFlowLayoutMode.WRAP_CONTENT); mCoverFlowView.setReflectionHeight(30); mCoverFlowView.setReflectionGap(20); mCoverFlowView.setVisibleImage(5);

Step Two: Set an adapter, which extends

MyCoverFlowAdapter adapter = new MyCoverFlowAdapter(this);

TIPS: * Method

should be called after all properties of CoverFlow are settled. * If you want to load image dynamically, you can call method
when bitmaps are loaded.

Step Three: if you want to listen for the click event of the top image, you can set a
to it:

mCoverFlowView.setStateListener(new CoverFlowView.StateListener() {
    public void imageOnTop(CoverFlowView view, int position,
            float left, float top, float right,float bottom) {
        // TODO

public void invalidationCompleted(CoverFlowView view) {
    // TODO


if you want to listen for click events of showing images, you can set a

to it:
mCoverFlowView.setImageClickListener(new CoverFlowView.ImageClickListener() {
            public void onClick(CoverFlowView coverFlowView, int position) {
                // TODO

If you want to listen for long click events of the top image, you can set a

to it:
    .setImageLongClickListener(new CoverFlowView.ImageLongClickListener() {
        public void onLongClick(CoverFlowView view, int position) {
            // TODO

Users can use method

setSelection(int position)
to show a specific position at the top.

If you want to subclass

  1. You can override method
    to make more transformations for images (there is some annotated code which shows how to make image y-axis rotation).
  2. You should never override method
    to layout any of
    ’s children, because all of image will draw on the canvas directly.

Developed By:

Roy Wang ([email protected])

If you use this library, please let me know.


Copyright 2013 Roy Wang

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

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.