opt addDrawable function