On Apr 3, 2:50 pm, Anil <[EMAIL PROTECTED]> wrote:
> I have to say this - adding a button dynamically to a layout is
> *extremely* slow.
> It takes about 3 seconds for the button to be added!

Um.  I've never seen it take that long. :)  Note that inflating a view
hierarchy from a layout file is slower than creating and adding views
programmatically, because all that code does is parse the XML file and
call the same APIs to create and add views.

--~--~---------~--~----~------------~-------~--~----~
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
[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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to