Ok, so I have used a transparent panel, activated with .SetOnTouchListener from the Gestures library, and can send SetPressed events down to any view on the screen under the transparent Panel.
This includes labels.
This is indeed a good thing for me, as I get a little bit more text "real estate" out of a label than a button, so, for small displays, I can get my "label_buttons" to display a bit more.
However, if I don't use a transparent Panel over the top, is there a way to catch the Down event for a label? No issues setting the .background for different states, so I can see the labels being "SetPressed", but no associated Down event like for a button?
I've looked thru the android documentation and it appears there should be an OnKeyDown event available... I just don't know how to grab it!
Ross
This includes labels.
This is indeed a good thing for me, as I get a little bit more text "real estate" out of a label than a button, so, for small displays, I can get my "label_buttons" to display a bit more.
However, if I don't use a transparent Panel over the top, is there a way to catch the Down event for a label? No issues setting the .background for different states, so I can see the labels being "SetPressed", but no associated Down event like for a button?
I've looked thru the android documentation and it appears there should be an OnKeyDown event available... I just don't know how to grab it!
Ross