title: Can I used android:digits to only allow a single space?
body: <p>In my EditText I need to restrict all characters except letters, numbers and <strong>single</strong> space. I tried to add to XML:</p>
  
  <pre><code>android:digits="abcdefghijklmnopqrstuvwxyz1234567890 " 
  </code></pre>
  
  <p>I still able to enter more than one space. How can I change this and allow to user enter no more than 1 space?</p>