Folks:

As the subject may suggest, I'm trying to fill a gridview from an Xml document. 
I've created a custom adapter to which I can bind the grid. However, I can't 
figure out how to put data into the grid in any meaningful way.

For background, I'm trying to make a quick starter app to display contact info 
from our intranet via a web service.

I know *where* to do it - it's in the getView method of the adapter. In that I 
have to construct and fill a view to pop into the grid. I can create a TextView 
and throw in the person's name, but I'd like to have 3 separate columns in the 
grid, displaying the name, phone number, and email address of each person.

Any suggestions, even if it's advice on how to clarify my question?

Here's the gridview layout
<?xml version="1.0" encoding="utf-8"?>


<GridView
      android:id="@+id/contact_grid"
  xmlns:android="http://schemas.android.com/apk/res/android";
  android:layout_width="wrap_content"
  android:layout_height="wrap_content">
</GridView>






dan terrill
senior internet developer
ced

dant<mailto:[email protected]>@acsysinteractive.com
860.404.3331
acsysinteractive.com<http://www.acsysinteractive.com/>

acsysinteractive
connecticut | new york

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