title: android edittext custom listview
body: <p>I have a custom listview with textview and edittext.there is no problem when listview has 6 item or less but more than 6 item  listview like this <a href="http://www.youtube.com/watch?v=R1SsEnYq_3U" rel="nofollow">video</a> .How can I solve this problem?</p>
  
  <pre><code>public class Form2 extends ListActivity {
  
  CustomListAdapter cla;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_form2);
  
      cla = new CustomListAdapter(this);
      setListAdapter(cla);
  }
  </code></pre>
  
  <p>my custom adapter is</p>
  
  <pre><code>public class CustomListAdapter  extends BaseAdapter{
  
  private LayoutInflater mInflater;
  private ArrayList&lt;Siparis&gt; notlar;
  
  public CustomListAdapter(Context context) {
  
              mInflater = LayoutInflater.from(context);
              notlar = new ArrayList&lt;Siparis&gt;();
  
  
              DBHandler db = new DBHandler(context);
              db.getWritableDatabase();
              notlar=db.getSiparis();
              db.close();
  
          }
  
  @Override
  public int getCount() {
      return notlar.size();
  }
  
  @Override
  public Siparis getItem(int position) {
      return notlar.get(position);
  }
  
  @Override
  public long getItemId(int position) {
      return position;
  }
  
  @Override
  public View getView(int position, View convertView, ViewGroup parent) {
  
              ViewHolder holder;
  
              if (convertView == null) {
                  convertView = mInflater.inflate(R.layout.activity_kap, null);
  
                  holder = new ViewHolder();
                  holder.mKonu = (TextView) convertView.findViewById(R.id.malzeme);
                  holder.mTarih2 = (EditText) convertView.findViewById(R.id.miktar);
              } 
              else {
                  holder = (ViewHolder) convertView.getTag();
              }
  
              //holder.mTarih2.setText(String.valueOf(notlar.get(position).miktar));
              holder.mKonu.setText(notlar.get(position).malzeme_adi);
  
              convertView.setTag(holder);
  
              return convertView;
      }
  
  
          public class ViewHolder {
              TextView mKonu;
              EditText mTarih2;
          }
  </code></pre>
  
  <p>}</p>