How to get currently displayed level of level-list
I've created level-list drawable and I'm changing its levels by setImageLevel(int), but I'd like to check which level is currently set. Is there any way开发者_Go百科 to do it?
http://developer.android.com/reference/android/graphics/drawable/Drawable.html#getLevel()
is inherited by LevelListDrawable.
Regards, Stéphane
精彩评论