Please read the documentation of GestureOverlayView
:
A transparent overlay for gesture input that can be placed on top of other widgets or contain other widgets
Note the two words transparent and overlay. You can use it on top of any view - just use an appropriate Layout (Hint: try FrameLayout
or RelativeLayout
) or add views to it (as it is a sub-class of FrameLayout
).
There are tutorials out there like this: Android Gestures - Tutorial.