how to bring a ChildView of Gallery to the screen?

Put your problem here if it does not fit any of the other categories.

how to bring a ChildView of Gallery to the screen?

Postby zhuzhuhoney » Thu Mar 13, 2008 10:10 am

Dear All,
i want to bring a ChildView of Gallery to Screen without changing the order of the gallery.
i use the code below but it does not work. is there anything wrong?
any help would be very very appriciated~ :(

mGallery = (Gallery) findViewById(R.id.gallery);
mGallery.setAdapter(new ImageAdapter(this));
View mView = new View(this);
mView = mGallery.getChildAt(10);
mGallery.bringChildToFront(mView);
mGallery.setOnItemClickListener(this);
mGallery.setOnItemSelectedListener([b]this[/b]);
zhuzhuhoney
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Mar 13, 2008 3:10 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot] and 13 guests