Videoguy wrote:
> Hi
> Is it possible to build a GridView object in XML with 3 columns and 4
> rows of Image buttons?
> It doesn't seem to have similar containment relationship like
> LinearLayout or RelativeLayout viewgroups.

GridView is a selection widget, closer in spirit to ListView or Spinner.
The contents are set via an adapter.

> I want to do this entirely in an xml layout file.

Then you do not want GridView. Try TableLayout, perhaps.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to