Thanks Mr.Justin.

Sorry i dont know how to add ImageView into the Gallery.

Share me some sinpets... Plz help me ...,

-------------------------------------------------------------------------------------------
Gallery  mGallery = (Gallery) findViewById(R.id.apps_all);

           ImageView imageView = new ImageView(myc);
            imageView.setImageResource(imageIDs[position]);
            imageView.setScaleType(ImageView.ScaleType.FIT_XY);
            imageView.setLayoutParams(new Gallery.LayoutParams(150,
120));
-------------------------------------------------------------------------------------------
How to add thos imageView into mGallery. ? ?



Cheers,
Ganesh

On Dec 15, 4:06 am, Justin Anderson <janderson....@gmail.com> wrote:
> ImageView.startAnimation()
>
> I'm assuming the items you are putting in your Gallery view are ImageView
> objects of course...
>
> By the way, HAVE SOME PATIENCE!!!!!!  Everyone answering questions on here
> does so on their own spare/free time.
>
> ----------------------------------------------------------------------
> There are only 10 types of people in the world...
> Those who know binary and those who don't.
> ----------------------------------------------------------------------
>
>
>
> On Fri, Dec 11, 2009 at 5:07 AM, Ganesh Ram <ganesh...@gmail.com> wrote:
> > Some one help me !  !  !
>
> > On Dec 11, 9:50 am, Justin Anderson <janderson....@gmail.com> wrote:
> > > You are telling the gallery to do the animation.  If you want each image
> > to
> > > have a different animation, then you need to put the animation on the
> > actual
> > > image itself, not the gallery...
>
> > > ----------------------------------------------------------------------
> > > There are only 10 types of people in the world...
> > > Those who know binary and those who don't.
> > > ----------------------------------------------------------------------
>
> > > On Thu, Dec 10, 2009 at 3:10 AM, Ganesh Ram <ganesh...@gmail.com> wrote:
> > > > Hi All,
> > > >  I added and displayed set of images in my gallery. I made like at a
> > > > time use can view three images.
>
> > > > Now I want to do different Animation for these images. I used
> > > > following snippet but its refreshing entire Gallery.
> > > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> > > >                gallery.setGravity(10);
> > > >                gallery.setAnimationDuration(1000);
> > > >                gallery.setSelection(position, true);
> > > >                gallery.setFadingEdgeLength(100);
> > > >                gallery.startAnimation(mGallaryAnim);
> > > >                gallery.setCallbackDuringFling(false);
> > > > @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> > > > Try to help me. I need to complete this soon.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > > > Groups "Android Beginners" group.
> > > > To post to this group, send email to
> > android-beginners@googlegroups.com
> > > > To unsubscribe from this group, send email to
> > > > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr­...@googlegroups.com>
> > <android-beginners%2bunsubscr­...@googlegroups.com>
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/android-beginners?hl=en-Hide quoted
> > text -
>
> > > - Show quoted text -
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Beginners" group.
> > To post to this group, send email to android-beginners@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr­...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-beginners?hl=en- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to