add bitmap and resources