title: EditText.setSelection(end) brings no effect?
body: <p>I use the following code to set the <code>cursor</code> at the <code>end</code> of customEditText(<code>EditText</code>) but it brings no effect.</p>
  
  <pre><code>customEditText.setOnFocusChangeListener(new OnFocusChangeListener() {
              @Override
              public void onFocusChange(View v, boolean hasFocus) {
                   if (hasFocus) {
                      String customEditTextText = customEditText.getText().toString();
                      int selection = customEditTextText.length();
                      customEditText.setSelection(selection);
                  }
              }
  });
  </code></pre>
  
  <p>Has anybody any ideas for that ?</p>