From: http://developer.android.com/reference/android/widget/ImageView.html
getDrawable<http://developer.android.com/reference/android/widget/ImageView.html#getDrawable%28%29>() Return the view's drawable, or null if no drawable has been assigned. Once you have that, compare it to whatever drawbles you know about, then change the course of your application based upon that. Most of the info you need is in the docs :) On Fri, Aug 21, 2009 at 1:16 PM, arin <[email protected]> wrote: > > Hi there, I want to determine if a particular background png is being > used by an imageview at a particular time and want to execute some > action based on the boolean result? How can I determine the current > background resource? > > > -- Donn http://blog.donnfelker.com/ --~--~---------~--~----~------------~-------~--~----~ 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] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

