PorterDuff.Mode error
Android PorterDuff.Mode error: PorterDuff cannot be resolved to a variable
Answers:
Add this to your imports, because for some reason, Eclipse doesn't automatically do it for this one:
import android.graphics.PorterDuff;
Use only Mode.DARKEN
, and then import (以验证)
import android.graphics.PorterDuff.Mode;