views:

455

answers:

1

hi all,

i am working on a webview. if i click anything in my webview . it redirect to another link by using webviewclient class.

now i put a footer contains back and forward button. to do the option which in ordinary browser.

i can work about to back and forward of webview.it works fine.

now i want to set a buttons in the footer are initially should be not focused and it should work clickable and not clickable dynamically.

+1  A: 

i solved this problem.

using canGoBack() and canGoforward(), we can disable those buttons using obj_name.setEnabled(false);

Praveen Chandrasekaran