title: android - edittext keyboard not showing
body: <p>I am creating an <strong>edittext programmatically</strong>. But I was not able to <strong>type anything into the edittext</strong>. I have covered all the related answers on this site but none of them worked for me. Maybe I am missing some minor details. It would be helpful if I can get some help.</p>
  <p><strong>Code to create edittext dynamically:</strong></p>
  <pre><code>EditText editText = new EditText(dt.c);
  editText.setBackground(context.getResources().getDrawable(R.drawable.rectangle_answer));
  editText.setTextColor(ContextCompat.getColor(dt.c, R.color.md_black_1000));
  editText.setTextSize(16);
  editText.setTag(questionDetails[0].getOptionId());
  editText.setFocusable(true);
  editText.setHint(dt.gStr(R.string.enter_your_answer));
  editText.requestFocus();
  container.Add(editText);
  </code></pre>
  <p><strong>Some of the answers that I covered:</strong></p>
  <p><a href="https://stackoverflow.com/questions/8991522/how-can-i-set-the-focus-and-display-the-keyboard-on-my-edittext-programmatical">How can I set the focus (and display the keyboard) on my EditText programmatically</a></p>
  <p><a href="https://stackoverflow.com/questions/62314661/android-edittext-made-programmatically-not-showing-keyboard">Android - EditText made programmatically not showing keyboard</a></p>
  <p><a href="https://stackoverflow.com/questions/14815696/android-how-to-open-keyboard-for-editing-edittext-when-click-button/14818191">Android: How to open keyboard for editing EditText when click button?</a></p>
  <p><a href="https://stackoverflow.com/questions/10636635/disable-keyboard-on-edittext">Disable keyboard on EditText</a></p>
  <p><a href="https://stackoverflow.com/questions/45557197/how-to-disable-the-keyboard-when-i-click-on-edittext">How to disable the keyboard when I click on EditText?</a></p>