Code for creation of QuestionView layout