title: Spacebar removes the letter in edit text on double tap
body: <p>In my application I have edit texts, which must ignore spacebar every time the user enters it. I've written the next in my XML for edit texts in order for this to work:</p>
  
  <pre><code>android:digits="АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдеёжзийклмнопрстуфхцчшщъыьэюя"
  android:inputType="textFilter"
  </code></pre>
  
  <p>So logically, it must only accept uppercase and lowercase russian letters, but when I double tap on spacebar, the letter in edit text is removed, as if I tapped backspace button. Why is this happening and what is the solution for it?</p>