KenBurnsView how to set image resource?
问题 I'm trying to use Faria's KenBurnsView library in my application. KenBurnsView is some extension of ImageView, with a nice animating effect. You may have seen the effect in Foursquare app's images. For the actual picture, the view uses the XML defined "android:src" property. But I want to set the image resource during run-time through Java code. I have tried setImageResource, setBackgroundResource, set".."drawabale and many other methods. But no matter what, my image setting command always