As you in following android album widget images placement is from middle of the gallery i want to start image placement from begi开发者_Python百科nning of the album.
Gallery#setSelection(1);
after the setAdapter()
will do the trick :)
can you use scrollX in the gallery xml ?,the Value you should do yourself i think
The gallery view of Android is designed to start from middle part of the activity.You cant start the image placement from start of gallery. To do this you can make customized gallery view with help of Image view and horizontal scroll bar.
The gallery by default align the elements to center.... You should be rewrite the gallery class...
精彩评论