Don't put ListView inside ScrollView, as ListView already provides scrolling.

To show both views, make e.g. GridView have height "wrap_content", and ListView height - "fill_parent". There are certainly other ways, too.

-- Kostya

16.09.2010 11:42, RKJ (Android developer) пишет:
Hi All,

I want to use GridView with Scroll View(which containing ListView)

Example -

|----------------------------------------------------|
|                                                    |
|        GridView (3 col)                     |
|                                                    |
|----------------------------------------------------|
|                                                    |
|<ScrollView                                   |
|<ListView                         |
|</ListView>                     |
|</ScrollView>                                 |
|----------------------------------------------------|

But problem is that, when I'm using this way, only GridView is coming
alone

--Thanks



--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

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