The way I did it in AppSwipe! was with a RelativeLayout that contains a
Gallery and a TextView.  I used an OnItemSelectedListener to change the text
displayed in the text view.

http://developer.android.com/reference/android/widget/AdapterView.OnItemSelectedListener.html

It is pretty straightforward once you get the design figured out...

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Fri, May 13, 2011 at 12:56 PM, gaurav gupta <[email protected]>wrote:

> Hti guys
> m making a gallery that contain 10 images , each images have a different
> name . i want that if i scroll the gallery , selected or focused image's
> name should be appear.
> Name  should change on onFoucs or OnItemSelected.
> Suggest me.
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to