Hi Paul-

I've been looking for an answer to this too.  Did you find one?

Thanks-

On Apr 1, 7:08 am, Geefer <[email protected]> wrote:
> Hi,
> Does anyone know how to set the size of the images in a Gallery view
> from an xml file rather than setting in java using:
> imageView.setLayoutParams(newGallery.LayoutParams(120, 120));
>
> I have tried inflating the imageView from an xml file (with
> layout_height=120 etc.) in the adapter getView method but this does
> not appear to work.
>
> Thanks, Paul

-- 
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