Created
March 23, 2017 17:56
-
-
Save M-ZubairAhmed/8ea15c9bec3bdb0912091c7e7576073d to your computer and use it in GitHub Desktop.
Returns int color from hex color in android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int ContextCompat.getColor(context, R.color.color_name); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment