Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android gallery image position problem

As you in following android album widget images placement is from middle of the gallery i want to start image placement from beginning of the album.

alt text

like image 232
d-man Avatar asked Sep 01 '10 04:09

d-man


1 Answers

Gallery#setSelection(1); after the setAdapter() will do the trick :)

like image 160
qichuan Avatar answered Sep 17 '22 22:09

qichuan