0

I am trying to implement a gallery which always starts from left rather than center of the screen.
I have already overridden onLayout and onDraw methods and it works for the first time, but if I scroll the gallery, it again center itself to center.

Do you have any idea how to implement this? Or I am thinking of backup solution: if it's possible to make an horizontal listView?

Nick Craver
  • 623,446
  • 136
  • 1,297
  • 1,155
ingsaurabh
  • 15,249
  • 7
  • 52
  • 81

2 Answers2

0

Refer to this question:

Android horizontal scroll list

Community
  • 1
  • 1
mudit
  • 25,306
  • 32
  • 90
  • 132
  • the idea given on that page doesnt implements adapter and thus not memory optimized if the child items are large in number as I have many child to be added – ingsaurabh Apr 04 '11 at 11:59
0

Finally I used Android Horizontal ListView from below link with some modificqations to suit my needs

http://www.dev-smart.com/archives/34

ingsaurabh
  • 15,249
  • 7
  • 52
  • 81