title: filter more than one space in EditText (Android)
body: <p>I need to restrict the users from entering more than one space between words. Is there any way to limit the user with only one space per word???</p>
  
  <pre><code>if (validateStatus
                  &amp;&amp; RegistraionRequestType.RegisterationCompleteReq.descdet.trim()
                  .length() &lt; 50) {
              Log.e("Validate----------------------  ",RegistraionRequestType.RegisterationCompleteReq.descdet+ "    --ValidateXCalled");
              warning = getResources().getString(R.string.description_msg);
              registeration_frm_et_id_description.requestFocus();
              validateStatus = false;
          }
  </code></pre>