Possible Duplicate:
Horizontal ListView in Android?
I want horizontal scroll like Gallery. Im not using Gallery because its center locked.
Can some one here would help me out with this So I can have horizontal scrolling list?
I think best example of this is pulse news reader :- https://market.android.com/details?id=com.alphonso.pulse
Thanks :)
I have created a view with the help of ScrollView and HorizontalScrollView to give you atleast a start. Here is the XML of that code:
Plus java code:
I tried uploading some screenshots also but i guess it was blocked by my network firewall. so will upload them later.
Hope this helps!!
http://developer.android.com/reference/android/widget/HorizontalScrollView.html ?
EDIT: Ok after finding out i don't need to do a RTFM post i searched around a bit and this has been asked before here:
Horizontal ListView in Android?
And has already been implemented here:
http://dev-smart.com/?p=34
Cant you change the
android:gravity
in Gallery?Inside the Horizontal LinearLayout you can add all your views...
Download Pulse apk, decompile using dex2jar + JD-GUI and take a look how they do it!
Excerpt:
Can a kind gentleman/lady later use this to write us all a tutorial on the implementation? :-)