Friday, September 2, 2011

Re: [android-developers] GridView shows only one row with layout_height=WRAP_CONTENT

On Fri, Sep 2, 2011 at 8:12 PM, Shri Borde <shri.borde@gmail.com> wrote:
> Actually, I am using a GridView in a ListView, not a LinearLayout.

You cannot reliably put scrollable things in other scrollable things.

> I am using the GridView as a table, and it seems
> reasonable to want to display the table in a ListView. There needs to be
> some way to accomplish this.

Use a TableLayout.

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

Android 3.1 Programming Books: http://commonsware.com/books

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment