Hi please lead me some examples which demonstrate how to create editText with "delete" button , when click on the delete option it will remove the created editText . Thanks in advance ...
code for creating textEdit dynamically..
LinearLayout rAlign = (LinearLayout)findViewById(R.id.lId);
        EditText newPass = new EditText(getApplicationContext());
        allEds.add(newPass);
        newPass.setHint("Name of Label");
        newPass.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT));
        newPass.setWidth(318);
        newPass.setTextColor(Color.parseColor("#333333"));
        newPass.setId(MY_BUTTON);
        //newPass.
        //newPass.setOnClickListener(this);
        rAlign.addView(newPass);
        MY_BUTTON ++;               
        addSpinner();  //Function for adding spinner