How to get row and column position/number of a view in GridLayout?

view story

http://stackoverflow.com – I am developing an app for in which i am using Grid Layout to arrange TextViews. TextViews are added dynamically. now what i want is when user clicks on any click listener , a toast should be popped up giving position of textview in terms of row and column number. ( i am also using column spanning). till now i have implemented click listener on textView but i am not able to figure out how i can get its position to show in toast. Grid Layout is added in a Horizontal ScrollView which in turn is added into a Scroll View , i need this setup to get scrolling in both direction. my layout XML :- (HowTos)