On Sat, Jun 26, 2010 at 8:09 PM, Dave Germiquet <[email protected]> wrote:
> Can you have a GridView and a ListView in one XML/Activity?

I know of no reason why not.

> I'm trying to load both and its giving me a Null Pointer exception,
> but doesn't tell me why pretty much

You did not include a stack trace. You did not indicate what line in
your code raises the NullPointerException. And I am working on ~3
hours' sleep. Combine all of those, and I can't really help you.
Sorry!

> What i'm trying to do is have a top level menu (GridView) and List of
> Menu Options below (ListView).

Have you considered using menus for menus (e.g., options menu), rather
than using ListView for menus? It may simplify your activity.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to