EnthuDeveloper
EnthuDeveloper

Reputation: 670

Clicking on the link in android webview does not get highlighted visually

I have an android application that launches the webview. When any link is clicked on the webview I don't get any visual feedback that the link is clicked. So, user does not know if the link is clicked untill the page is loaded.

Is there any way to in which we can make webview give the highlight the moment any link is clicked on the webview? So that the user will know that the link is clicked. Kindly update.

Upvotes: 2

Views: 650

Answers (2)

user4720912
user4720912

Reputation:

You need to define this feedback in your html/css file:

.button:active
{
  background-color: gray;
}

Upvotes: 0

Shabbir Panjesha
Shabbir Panjesha

Reputation: 1939

I had the same problem .What i found the problem was with the setJavascriptEnabled(true) flag.Set this flag according to your requirement.

Upvotes: 1

Related Questions