> With regards to the IllegalStateException, without a trace or something,
> I can't comment. But that doesn't matter -- I'd recommend tossing out
> all that code and going with:
>
> > issue 3: Well, If I will get past he first 2 issues, I would like to
> > make a container for the Image and Text and display that one as a
> > row... however, Android pretty much sux ass at dynamic UI.
>
> Which is why you shouldn't be using it.
>
> Use a graphics program to make yourself your dots, make yourself a
> layout with an ImageView (for the dot) and TextView inside a
> LinearLayout or something, and if convertView is null in your getView()
> implementation use ViewInflate in order to turn the XML into the proper
> View object. Then fill in the View (either the one you created or
> convertView) with the data.

That exception came along with  an Alert dialog saying
that .addView(...) is not suported inside Adapters. Then how can I
actually add that View to the list ? The thing is I need to
dynamically create that circle; I dont know its colour at compile
time :( .Thanks for pointing me to ViewInflate class and for all the
help. I shall struggle a bit more, but if I still cannot do it ...
I'll give up.
Here is some feedback if I may. (I assume you are paid by Google for
your help, right?) :
The learning curve for getting along with MFC without knowing anything
about Win32 API was waaaay less steeper than the learning curve for
getting along with Android GUI. I am familiar with WINAPI, MFC, and
Java GUI atm. Other than that, great help on those kind of groups, and
bad documentation.

Thanks again
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to