I am generating a webview programmatically I would like to add a button over the webview. I am able to add a normal button, but that comes before the webview, not over it.
Is there a way that I can add the button over the webview?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can add the button on top of a WebView by using a FrameLayout.
First add the WebView to the Layout, then the Button and adjust the gravity of the Button so that it sits where you want it to.