Does anyone have any ideas or suggestions about this? I know I can subclass TextView and then override the onMeasure() method to retrieve the view's measured dimensions. However, onMeasure() gets called _after_ I make a call to setBackgroundDrawable() on my TextView object. I want to get the measurement before I set the background, because my choice of background depends on the dimensions of the viewing area.
Can anyone suggest a way to do this? Thanks. -- 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