I have the following design :
<LinearLayout>
<ScrollLayout>
<LinearLayout> .... </LinearLayout> ----> TextView and ImageView dynamically created in this LinearLayout
</ScrollLayout>
</LinearLayout>
I need to detect touch events on the dynamically created ImageView(s)
. I don't know how many ImageView
will be created dynamically. How can I detect which ImageView
was touched by the user ?
Thanks for your help.