How does Gallery layout the size of each item in the Gallery

by Daniel Dreiberg » Thu, 14 May 2009 00:42:32 GMT

Sponsored Links
I have created a gallery and an adaptor for it. The getView() of the adaptor
get called but the view for some reason takes up whole screen of the
emulator instead of taking the minimum size.  Can you please tell me why is
that? Did Gallery measure the minimum side of the view of each item?

Thank you.


Other Threads

1. Geocoder no longer works on new PC

I have a problem getting the Geocoder to return results on my new PC
during development.  I started writing a android app on my other (Win
XP) system and Geocoder worked fine and returned locations based on an
address that I passed to it.

I recently bought a new PC (Win 7).  Moved the code over to it and now
the no address queries return any results.  I tried a couple that did
work on the xp machine, but are returning no results on the new pc.
It does not give any errors.

I did generate a keyfile on the old pc.  Do i need to create another
on the new pc?  Does the Geocoder require the key?  It is not from the
maps api.


2. Contained Library (jar?)

Hi guys,

Please excuse my newbness, I come from the land of C/C++ and am new to Java.

I want to create a self contained library that I can easily drop into an
android project and run.

I can do this by creating a shared object via the NDK and JNI but the
limitation there seems to be lack of audio support which is important for
this library.

Is there a way to create a library in the java/android world? Ideally the
developer could just drop it into the project and could access methods via
headers maybe?

Any help/samples would be fantastic and appreciated.

Yours truly,

Gregory Ray
COO, Seek Mobile Interactive, Inc.


This e-mail message, including any attachments, is for the sole use of the
intended recipient(s) and may contain information that is confidential and
protected by law from unauthorized disclosure. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all copies
of the original message.


3. duplicating the fling motion of one gallery widget to the other gallery widget in same screen

4. Icon size on 480x800 resolution

5. FaceDetector class

6. Failed binder transaction when passing byte[] (from camera) between intents

7. how to read a String into an EditText window?