O
O
Octavia Melody2015-08-20 19:09:56
Android
Octavia Melody, 2015-08-20 19:09:56

How to make Edittext display URL of page which is opened in WebView?

Good afternoon everyone.
There is WebView and Edittext. The latter is used to open pages in Webview. But when you switch, for example, from google.com to https://toster.ru , google.com remains in the top line, and does not change to toster.ru. How to make it so that when you go to another site, the address in the Edittext changes? Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
one pavel, 2015-08-20
@onepavel

Insert with handles.
Read about WebViewClient developer.android.com/intl/ru/reference/android/we...
Example www.technotalkative.com/android-webviewclient-example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question