title: How to add +91 before mobile number in edit text in android?
body: <p>I have an activity that contain edit text in I want to add +91 before mobile number ,Right now problem is that when I start entering mobile number like 9888888
  when I enter 9 +91 is visible and after that 888888.It skip 9 first time...how can I resolve this Issue.</p>
  
  <p>code:-</p>
  
  <pre><code>TextWatcher m_MobileWatcher = new TextWatcher() {
      @Override
      public void beforeTextChanged(CharSequence s, int start, int count, int after) {
  
      }
  
      @Override
      public void onTextChanged(CharSequence s, int start, int before, int count) {
  
      }
  
      @Override
      public void afterTextChanged(Editable s) {
          if (!s.toString().contains("+91")) {
              m_InputMobie.setText("+91");
              Selection.setSelection(m_InputMobie.getText(), m_InputMobie.getText().length());
          }
      }
  };
  m_InputMobie = (EditText) m_Main.findViewById(R.id.input_Number);
      m_InputMobie.addTextChangedListener(m_MobileWatcher);
  </code></pre>