title: Keyboard not showing inside Alert Dialog with ListView of EditText
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>//code of AlertDialog
          final AlertDialog.Builder alert = new AlertDialog.Builder(getActivity());
          alert.setTitle(R.string.modification);
          persoFomulair=new ListView(getActivity());
          List&lt;HashMap&lt;Boolean,HashMap&lt;String,String&gt;&gt;&gt;list = prepareList(p);
          MyListAdapter2 myListAdapter2 = new MyListAdapter2(getActivity(), R.layout.perso_list, list);
          persoFomulair.setAdapter(myListAdapter2);
          alert.setView(persoFomulair);
  
          alert.setPositiveButton(R.string.valider, new DialogInterface.OnClickListener() {
              public void onClick(DialogInterface dialog, int whichButton) {
                  //What ever you want to do with the value
  
  
                  getValueOfItem();
                  ModifierPerso modifierPerso = new ModifierPerso();
                  modifierPerso.execute(type, String.valueOf(p.getId()), date_embauch, salair_journ);
              }
  
          });
          alert.setNegativeButton(R.string.annuler, new DialogInterface.OnClickListener() {
              public void onClick(DialogInterface dialog, int whichButton) {
                  // what ever you want to do with No option.
  
              }
          });
          AlertDialog alertDialog=alert.create();
          alertDialog.getWindow().clearFlags( WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE |WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);
  
          alertDialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE);
          alertDialog.show();
          
          //what i think you need to see is the only parts from the array adapter bellow this comment
                      if(type.equals("Date embauch :")){editText.setText(result);editText.setInputType(InputType.TYPE_DATETIME_VARIATION_DATE);}
              else if(type.equals("Salair Journal :")){editText.setText(result);editText.setInputType(InputType.TYPE_CLASS_NUMBER);}
              else {editText.setVisibility(View.GONE);textView.setText(type+result);}
              </code></pre>
  </div>
  </div>
  </p>
  
  <p>While searching for my problem I found that it's because of using <strong>adjustPan</strong> in android Manifest. I'm using a list of EditTexts inside a dialog for which it will make it impossible in the way I wrote code to work. Also, it's long and will not let the keyboard to show to fit the screen.</p>
  
  <p>Here's a screenshot of the scenario:
  <a href="https://i.stack.imgur.com/VYzfx.png" rel="nofollow noreferrer">dialog</a></p>
  
  <p>Notice that in code I only want to make the selected EditText enabled and not the others one. </p>