android - Add EditText by button -


how can dynamically add new edittext method onclick button? have edittextbut i'd add other edittexton same layout. also, edittext must have same name counter++

edittext edtext = new edittext(this);             edtext .setid("");             edtext .setlayoutparams(new linearlayout.layoutparams(                     layoutparams.wrap_content, layoutparams.wrap_content,                     1f)); 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -