support loading view resources