EditText in dialog android -



EditText in dialog android -

i have made edittext in dialog cant alter height.

alertdialog.builder editalert = new alertdialog.builder(this); editalert.settitle("messagetitle"); editalert.setmessage("here message"); final edittext input = new edittext(this); linearlayout.layoutparams lp = new linearlayout.layoutparams( linearlayout.layoutparams.fill_parent, linearlayout.layoutparams.fill_parent); input.setlayoutparams(lp); editalert.setview(input); editalert.setpositivebutton("send via email", new dialoginterface.onclicklistener() { public void onclick(dialoginterface dialog, int whichbutton) { } }); editalert.show();

you can utilize this:

edittext.setheight(100);

android android-edittext android-alertdialog layoutparams

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -