GetCokor z Drawable w Java Android Studio
ContextCompat.getColor(getApplicationContext(),R.color.button_color)
Delightful Dog
ContextCompat.getColor(getApplicationContext(),R.color.button_color)