1

I need to make a view pager for a music app with this effect I am new to android developing. I got a link from stack, but its not helping fully.

Requirement : for a music app, i need to show a the album arts in a view pager. album art of current song at middle along with partially visible album arts of previous and next song on left/right side respectively at the same time.

Community
  • 1
  • 1
Arundas K V
  • 801
  • 2
  • 14
  • 28
  • This pic has no animation i guess, its just simple pager with side pages visible, right? – Shakti Nov 30 '12 at 04:48
  • am new to android, could you please help, how can i show the side pages visible.. also i want know , how to make a gallery or cover flow efect in View pager of album art... thanks... – Arundas K V Nov 30 '12 at 04:55
  • The links that you provided have completely different effects. Please describe what you actually have in mind. – Binoy Babu Nov 30 '12 at 04:55

1 Answers1

0

You can set a negative page margin to make the side pages visible. Rest all properties are inherent in ViewPager. Just have a look at the implementation. Android ViewPager with previous and next pages visible?

EDIT: With this you can achieve what you have mentioned. I don't know whats the problem? Default ViewPager has series of pages and with this above mentioned link you can see other pages too. Don't get confused by the pic on top of the link, the result will look more like your link though.

Community
  • 1
  • 1
Shakti
  • 1,581
  • 2
  • 20
  • 33
  • hi Shakti Thakran, could you please tell me, how can i apply a gallery or Coverflow appearance to viewpager album art... ie the current image at centre and the side images are litle bented towards centre... – Arundas K V Nov 30 '12 at 06:43
  • That will take a lot of effort on your part. Here is something to start with http://www.inter-fuser.com/2010/02/android-coverflow-widget-v2.html – Shakti Nov 30 '12 at 06:49