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(new Gallery.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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to