Substitute View.setlpha with Drawable.setAlpha

to support API levels before 11