Custom GridView

by ioRek » Tue, 28 Jul 2009 18:11:02 GMT

Sponsored Links
 Hello, I tried to make my own Custom GridView by extending ViewGroup
as I saw in the photostream application. I now have what I want for
the measure and layout but the scrolling isn't working.

When I look to the GridView code, it let me think that it's too much
work to have a good scroll.
So I'm now trying to have my custom GridView extending GridView this
time with overriding in the same way onMeasure & onLayout so I can
scroll etc.. but nothing is displaying.

The difference is I can't call addView and I don't know how to use
attachView or addViewinLayout.
So i'm wondering if it is the good way for me and if yes How to
display items like I did with a ViewGroup

Thank you !

Other Threads

1. Kill/Stop other Services in API 8 (Froyo 2.2)

No, sorry.

Mark Murphy (a Commons Guy) | |

Android 2.2 Programming Books:


2. bisakah HTC Hero memilihara koi???

sesuai degan judul mohon pencerahannya dari suhu2??
soalnya kebelet mau melihara koi..

"Indonesian Android Community [id-android]" 

3. Tentang Membuat Hotspot (dengan Ad hoc) menggunakan Wi-Fi Laptop di Windows XP. Laptop Ke Handphone Androi

4. Samsung Galaxy Apollo 鈥楥oming Soon鈥

5. my .apk application can obtain a screen of the other application

6. root permission

7. Penampakan HTC Desire with Froyo