Victor
Victor

Reputation: 193

Launch an event when click on an area of webview

I work with an webview and i want to launch one different event when the user clicks on each corner of webview. it is possible?

Thanks!!

Upvotes: 2

Views: 190

Answers (1)

Anthony Atkinson
Anthony Atkinson

Reputation: 3248

You could place your WebView inside a RelativeLayout, set the WebView to fill the entire RelativeLayout, then add whatever elements you'd like to rest on top of the WebView using android:layout_alignParentTop, android:layout_alignParentLeft, etc.

Upvotes: 1

Related Questions