If resource ID is 0, call set image drawable to null.