Method moved from AndroidSDK to DrawableHelper