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
 Hi,
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. Why "hello world" can't be displayed?

Hi,

I am trying "Hello World" as explained in SDK. But why "Hello World"
can't be displayed in my AVD? I always see "Android" string.

Thanks,
Pei

--~--~---------~--~----~------------~-------~--~----~

2. Google Maps missing from 1.5r3

Hi there,

Is it just me or did Maps going missing from the release 3? What's the
best way to install this? Haven't actually done it before but am
guessing I should grab the Maps APK from somewhere?

Cheers,

Nick

--~--~---------~--~----~------------~-------~--~----~

3. how to add a progressbar or other widget to some row of the listview??

4. Australian Android Developers - Drop me a line

5. ListView: invisible dividers still take up space. Is it a bug or a feature?

6. How did they made those "solve the math to dismiss the Alarm Clock" type apps?

7. Incoming SMS lead rild crash