Showing posts with label LevelListDrawable. Show all posts
Showing posts with label LevelListDrawable. Show all posts

Wednesday, 13 May 2015

Level List

Definition

A resource that manages a number of alternate Drawables.
It’s inflated into the LevelListDrawable java object.

Each drawable is assigned a maximum numerical level.

You can set the level value of the object with setLevel(int) or an equivalent method.
This will load the image/drawable whose maximum level attribute you have passed in the parameter.