'hide iframe on Index.html that load by webview

I had webview app that url load from local asset index.html, and i have one more file named index2.html. My main interface appear on index.html, inside index.html i put iframe code with url reference to index2.html and aply it display:none; code, but it won't work, the iframe still display and change main interface to itself!, How to fix it? I create webview app using android studio..



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source