I am writing an application in which I need to restrict EditText to accept only URLs. How can this be done in Android?
Open the properties of your EditBox. The InputType property offers you a list of checkboxes, and one of them is textUri .
textUri
It also works with EditTextPreference, although it does not display as a property.
Source: https://habr.com/ru/post/1337912/More articles:PHP error pconnect and connect - phpSending a file from S3 to a third-party FTP server using CloudFront - amazon-s3https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1337909/repository-and-service-tier-interaction-question&usg=ALkJrhhlC2Ovhxz0-poU8klZ84CbG8hJXQFind out which words appear on a large list in a small line - ruby | fooobar.comRazor: how to fill a text box? - asp.net-mvcInternet image processing - image-processingRegister FS in Win32 - filesystemsHow to dynamically load another processing instance - javascriptWhere are the tests in Qt? - qtjquery how to scroll the selected option into visible view? - jqueryAll Articles