title: EditText is not showing virtual keyboard
body: <p>I have created a dynamic screen with editText in it..but after click it is not showing the virtual keyboard.I have added these following codes..but still ot worked.</p>
  
  <pre><code>getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
  </code></pre>
  
  <p>and  this also dint worked </p>
  
  <pre><code>InputMethodManager im = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
  </code></pre>
  
  <p>im.showSoftInput(edittext, 0);</p>
  
  <p>my code is here...</p>
  
  <pre><code>runOnUiThread(new Runnable() {
              public void run() {
                  LinearLayout findViewById = (LinearLayout) findViewById(R.id.dynamicInputs);
                  //TextView textView = (TextView) findViewById(R.id.name);
                  TextView textView = new TextView(Activity_UserInput.this);
                  textView.setText("   " + map.get(KEY_NAME) + " :");
                  textView.setTextColor(Color.BLACK);
                  textView.setTextSize(TypedValue.COMPLEX_UNIT_SP, 17);
                  //textView.setLayoutParams(new LayoutParams(Layout.DIR_LEFT_TO_RIGHT, Gravity.CENTER_VERTICAL));
  
                  findViewById.addView(textView);
  
                  EditText editText = new EditText(Activity_UserInput.this);
                  editText.setText("");
                  //editText.setInputType(InputType.TYPE_CLASS_NUMBER);  
  
                  findViewById.addView(editText);
  
              }
  </code></pre>