Hi apps developers,

Last week Eric Fisher checked in a new TextView API that lets you
display a drawable along with text. You can use
TextView.setCompoundDrawable() to add up to 4 drawables, to the top,
left, bottom and right of the text. This feature is really useful to
reduce the number of views used by our applications. Thanks to this
feature, Home nows uses 32 views instead of 80+. It's a great memory
and speed improvement.

If your app displays text+icon items you must start using this feature
now to avoid the method we used so far (Layout + ImageView +
TextView.)

-- 
Romain Guy
www.curious-creature.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to