layerType
Specifies the type of layer backing this view. The layer can be LayerType.LAYER_TYPE_NOT_SET, LayerType.LAYER_TYPE_NONE, LayerType.LAYER_TYPE_SOFTWARE or LayerType.LAYER_TYPE_HARDWARE.
Parameters
layerType
The type of layer to use with this view, must be one of LayerType.LAYER_TYPE_NOT_SET, LayerType.LAYER_TYPE_NONE, LayerType.LAYER_TYPE_SOFTWARE or LayerType.LAYER_TYPE_HARDWARE.
paint
The paint used to compose the layer. This argument is optional and can be null. It is ignored when the layer type is LayerType.LAYER_TYPE_NONE.