에러 - the method setbackgrounddrawable(drawable) from the type view is deprecated

int sdk = android.os.Build.VERSION.SDK_INT;
if(sdk < android.os.Build.VERSION_CODES.JELLY_BEAN) {
    setBackgroundDrawable()
} else {
    setBackground();
}

+ Recent posts