add view resource