title: how to validate a URL / website name in EditText in Android?
body: <p>I want to take input, a URL or just a website name like, <em>www.google.com</em> from <code>EditText</code> in Android and on user click on the <code>Button</code> to submit or when the <code>EditText</code> looses the focus the URL should be validated, 
  like it is in the format "<em>www.anyURL.com</em>"... </p>
  
  <p>How can I do this? Is there any inbuilt functionality available in android?</p>