# getBackground().setAlpha导致全局的其他布局背景透明度都改变

### 2、产生的原因

**

* Make this drawable mutable. This operation cannot be reversed. A mutable

* drawable is guaranteed to not share its state with any other drawable.

* This is especially useful when you need to modify properties of drawables

* the same resource share a common state; if you modify the state of one

* instance, all the other instances will receive the same modification.

*

* Calling this method on a mutable Drawable will have no effect.

*

* @return This drawable.

* @see ConstantState

* @see #getConstantState()

*/

public Drawable mutate() {

return this;

}