/**@class android.graphics.drawable.LevelListDrawable @extends android.graphics.drawable.DrawableContainer A resource that manages a number of alternate Drawables, each assigned a maximum numerical value. Setting the level value of the object with {@link #setLevel}(int) will load the image with the next greater or equal value assigned to its max attribute. A good example use of a LevelListDrawable would be a battery level indicator icon, with different images to indicate the current battery level. <p> It can be defined in an XML file with the <code><level-list></code> element. Each Drawable level is defined in a nested <code><item></code>. For example: </p> <pre> <level-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:maxLevel="0" android:drawable="@drawable/ic_wifi_signal_1" /> <item android:maxLevel="1" android:drawable="@drawable/ic_wifi_signal_2" /> <item android:maxLevel="2" android:drawable="@drawable/ic_wifi_signal_3" /> <item android:maxLevel="3" android:drawable="@drawable/ic_wifi_signal_4" /> </level-list> </pre> <p>With this XML saved into the res/drawable/ folder of the project, it can be referenced as the drawable for an {@link android.widget.ImageView}. The default image is the first in the list. It can then be changed to one of the other levels with {@link android.widget.ImageView#setImageLevel(int)}. For more information, see the guide to <a href="{@docRoot}guide/topics/resources/drawable-resource.html">Drawable Resources</a>.</p> @attr ref android.R.styleable#LevelListDrawableItem_minLevel @attr ref android.R.styleable#LevelListDrawableItem_maxLevel @attr ref android.R.styleable#LevelListDrawableItem_drawable */ var LevelListDrawable = { /** */ addLevel : function( ) {}, /** */ inflate : function( ) {}, /** */ mutate : function( ) {}, /** @hide */ clearMutated : function( ) {}, };