Skip to content Skip to sidebar Skip to footer

Android-gallery How To Set The Position Of The Child Which Is Selected

as we know,the default position of the child which is selected is in the middle.but i want to show it in the gallery's left.how to do this. thanks~

Solution 1:

use the method setSelection(int position) to set which item will be shown as selected. For showing the left you have just use setSelection(0). simple... please check the given link by Rahul for more information about Gallery


Post a Comment for "Android-gallery How To Set The Position Of The Child Which Is Selected"