title: Add EditText dynamically in Android
body: <p>I add an edittext to view on button click and then I want to be insert values ​​in the SQLite db. So far I have tried this code to the new EditText, but are created horizontally rather than vertically. Also how do I manage ContentValues ​​to insert the data of the EditText added?</p>
  
  <pre><code>public void Add(View v) {
        EditText et=new EditText(cnt);
        linear.addView(et);
    }    
  </code></pre>