Showing posts with label drawables. Show all posts
Showing posts with label drawables. 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.

Layer Lists

Definition

A layer list is a drawable used to manage other drawables.
Its inflated into a LayerDrawable object in java.

Each drawable in the list is drawn in the order of the list, just like a stack of plates at the dinner table, the last drawable in the list is drawn on top.

Android drawables

ANDROID DRAWABLES

1.      What is an android drawable?
2.      What are the types of drawables?
3.      How to access drawables via xml and code
4.      3 ways to instantiate drawables
5.      Android system variables(public and private)
6.      User created xml variables
7.      Drawables vs images