title: Disable editText soft keyboard completely
body: <p>I'm writing a process for the user to choose his country. I've an edittext linked to adapter which showing all available options.</p>
  
  <p>In my manifest i set the the activity to<br>
  android:windowSoftInputMode="stateAlwaysHidden"  </p>
  
  <p>I need to disable the soft keyboard completely. </p>
  
  <p>It works fine except in one condition. if the user perform a long click/press on the editText the keyboard is popping.</p>
  
  <p>Is there a way to permanently disable the keyboard in a specific activity by using code or in the manifest?</p>
  
  <p>my code:</p>
  
  <pre><code>editCountry.setOnClickListener(new View.OnClickListener() {
              @Override
              public void onClick(View view) {
                  picker = CountryPicker.newInstance(getString(R.string.select_counrty));
                  picker.show(getSupportFragmentManager(), "COUNTRY_PICKER");
                  picker.setListener( new CountryPickerListener() {
                      @Override
                      public void onSelectCountry(String name, String code) {
                          editCountry.setText(name);
                          picker.dismiss();
                      }
                  });
              }
          });
  </code></pre>
  
  <p>my manifest:</p>
  
  <pre><code> &lt;activity android:name=".UserSettingPref"
           android:screenOrientation="portrait"
  
              android:windowSoftInputMode="stateAlwaysHidden" &gt;
  </code></pre>
  
  <p>Thanks      </p>