How to create a horizontal view of the carousel in android?

In my Android application, I want to implement a carousel for 7 views.

My carousel should show as 1st image in this link

carousel .

I checked a couple of links and some demos similar to this svn-link , but

First of all, this is for an even number of views, where I have only 7 submissions

secondly, it adds all its content from the xml attribute, I would prefer to add views by code,

and I don’t need a complete roundabout, I just need an arc.

I have currently used coverflow, but am experiencing too many errors that are not so easy to solve.

Please help me with a demo or an example of a carousel, easier.

Or, if you use any other procedure, I can show my list in this way, any ideas or hints are much appreciated.

thanks

+6
source share
1 answer

See this Coverflow widget, it works like a listView, so it is very easy to use:

http://www.inter-fuser.com/2010/01/android-coverflow-widget.html

Steps:

  • Import library classes into your classpath
  • Instead of ListView use CoverFlow;
  • Write your coverflowAdapter, here it will contain only images (see example code from the link)
  • Install the adapter on the cover

Hope this helps!

+2
source

All Articles