Possible solution:

http://stackoverflow.com/questions/12554805/hitarea-in-linearlayout-view

On Sunday, September 23, 2012 8:07:36 PM UTC+2, powder366 wrote:
>
> Hi, 
>
> I have defined a LinearLayout with some TextView's spread out. 
> Instead of putting a setOnTouchListener on each specific TextView, I 
> like to divide my LinearLayout in three areas (hitareas). 
> If I hit the top area I do something (in the middle something else 
> etc.). 
> I.e. I'd like to have three listeners for top, middle and bottom and 
> in each area I have any number of Android TextView's (or possible 
> other widgets) laid out. 
>
> How can I solve this? 
>
> Many thanks! 
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to