Dynamic Grid view in Android
===

I want to have grid layout in android where all the elements are added dynamically while reading external XML File.

Layout looks like 
![enter image description here][1]


  [1]: http://i.stack.imgur.com/LPYs5.png

and corresponding XML file looks like :

`<Question
		culture="en-ca"
		id="1"
		name="Question 5" 
		type="OTMF"
		allowBackButton="false" 
		isRequired="true" 
		numLines="0" 
		questionIndex="3">
<QuestionText culture="en-ca">Please rate item on the scale of 1 to 5?</QuestionText>
		<Col>, 1, 2, 3, 4, 5 </Col>
		<Row> Products </Row>
		<Row> Service </Row>
		<Row> Marketing </Row>
		<Answers>
			<Row> </Row>
			<Row> </Row>
			<Row> </Row>
			</Answers>
		<Response respondedTimeStamp=""></Response>
		<OnChoice></OnChoice>
	</Question>`
