Re: [android-developers] Re: Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
hi , thank u all guys i did it :) thanks 4 ur support On Sat, May 14, 2011 at 1:51 AM, Justin Anderson wrote: > The best way to do that is to use a StateListDrawable: > > http://developer.android.com/reference/android/graphics/drawable/StateListDrawable.html > > That's what I did with "AppSwipe!"

Re: [android-developers] Re: Gallery image should navigate with textview

2011-05-13 Thread Justin Anderson
The best way to do that is to use a StateListDrawable: http://developer.android.com/reference/android/graphics/drawable/StateListDrawable.html That's what I did with "AppSwipe!" on the Android Market. The selected item has a blue background with a gradient. Everything else in the list has a tran

Re: [android-developers] Re: Gallery image should navigate with textview

2011-05-13 Thread gaurav gupta
Hi , thanks 4 reply Now m setting ID for every imageview that m creating dynamically like * int * imageview_id=1; *for*(*int* i=0;i arg0, View arg1, *int* position, *long* arg3) { // *TODO* Auto-generated method stub //Toast.makeText(HotelViewScreen.this, ""+arg2, Toast.LENGTH_LONG).show

[android-developers] Re: Gallery image should navigate with textview

2011-05-13 Thread ashutoshmimani
Can you not save references to your image views when you are creating them? On May 13, 3:34 pm, gaurav gupta wrote: > hi justin >  i want to just change my textview and imageview with gallery. > my imageview showing the current position of gallery . like if gallery's > currenit position is 2 , th