Closed S1aNT closed 10 years ago
change.setBackgroundDrawable(EnvelopesAdapter.getColorStateDrawable(color));
setBackgroundDrawable() has been deprecated in API level 16: JELLY_BEAN.
setBackground() is called when the device sdk version is JELLY_BEAN or higher, and setBackgroundDrawable() is called when the device sdk version is less than JELLY_BEAN.
setBackgroundDrawable() has been deprecated in API level 16: JELLY_BEAN.
setBackground() is called when the device sdk version is JELLY_BEAN or higher, and setBackgroundDrawable() is called when the device sdk version is less than JELLY_BEAN.