Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextDrawable.getOpacity() Must be one of: PixelFormat. #7

Open
taao84 opened this issue Aug 6, 2017 · 0 comments
Open

TextDrawable.getOpacity() Must be one of: PixelFormat. #7

taao84 opened this issue Aug 6, 2017 · 0 comments

Comments

@taao84
Copy link

taao84 commented Aug 6, 2017

In TextDrawable:

public int getOpacity() {
return mTextPaint.getAlpha();
}

Does not pass Android Inspection :
Must be one of: PixelFormat.UNKNOWN, PixelFormat.TRANSLUCENT, PixelFormat.TRANSPARENT, PixelFormat.OPAQUE.

@taao84 taao84 changed the title Must be one of: PixelFormat. TextDrawable.getOpacity() Must be one of: PixelFormat. Aug 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant