title: Pop up Arabic/Urdu custom keyboard on Edittext Issue
body: <p>I am working on app where i use <strong>Urdu Custom Keyboard</strong> its work fine but the problem is that when i type any-word e.g. (سلام), cursor become not works at mid character for example cut/copy/paste or deleting (ا) character from the mid from word are not work.
  i uses rough technique just appending characters but is also work fine.</p>
  
  <p><strong>For taping any alphabetic</strong></p>
  
  <pre><code>private void addText(View v) {
          // String b = "";
          // b = (String) v.getTag();
          // urdu_word.setText(b);
          if (isEdit == true) {
              String b = "";
              b = (String) v.getTag();
              if (b != null) {
                  Log.i("buttonsOnclick", b);
                  // adding text in Edittext
                  mEt.append(b);
              }
          }
      }
  </code></pre>
  
  <p><strong>For back button tapping</strong></p>
  
  <pre><code>private void isBack(View v) {
          if (isEdit == true) {
              CharSequence cc = mEt.getText();
              if (cc != null &amp;&amp; cc.length() &gt; 0) {
                  {
                      mEt.setText("");
                      mEt.append(cc.subSequence(0, cc.length() - 1));
                  }
              }
          }
      }
  </code></pre>
  
  <p><strong>Here the screenshot clear my problem to you people</strong>
  <a href="https://i.stack.imgur.com/6Nlaw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Nlaw.jpg" alt="enter image description here"></a></p>
  
  <p><strong>I used a lot of library and code from github but don't catch good idea</strong></p>
  
  <p>1) <strong><a href="https://github.com/siddhpuraamitr/Hindi-Keyboard" rel="nofollow noreferrer">Keyboard-1</a></strong>
  <a href="https://i.stack.imgur.com/lIST4.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lIST4.jpg" alt="enter image description here"></a></p>
  
  <p>2) <strong><a href="https://github.com/jbak/Jbak-Keyboard" rel="nofollow noreferrer">Keyboard-2</a></strong>
  <a href="https://i.stack.imgur.com/M4JXX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M4JXX.jpg" alt="enter image description here"></a></p>
  
  <p>3) <strong><a href="https://github.com/viizki/SafeKeyboard" rel="nofollow noreferrer">Keyboard-3</a></strong>
  <a href="https://i.stack.imgur.com/FkN4G.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FkN4G.jpg" alt="enter image description here"></a></p>
  
  <p>4) <strong><a href="https://github.com/jmejiaa/qsearch" rel="nofollow noreferrer">Keyboard-4</a></strong></p>
  
  <p>i checked all these keyboard and more from libs, have same cursor issue, how to manage fully my custom keyboard by deleting character from mid and copy my written text copy paste like normal keyboard with EditText, thanks in advance all of you :)</p>
  
  <p><a href="https://i.stack.imgur.com/VJy1b.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VJy1b.jpg" alt="enter image description here"></a></p>