title: How to add EditText programmatically?
body: <p>How to add <strong>EditText</strong> programmatically?</p>
  
  <p>Here's what I wrote:</p>
  
  <pre><code>View RV = inflater.inflate(R.layout.fragment__dummy,container, false);
  
  LinearLayout LL = new LinearLayout(getActivity());
  EditText ET = new EditText(getActivity());
  ET.setId(5);
  ET.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,LayoutParams.WRAP_CONTENT));
  LL.addView(ET);
  
  return RV;
  </code></pre>
  
  <p>Thank You!</p>