How to show text area when check box is checked in android -


is there way show text-area when check-box checked in android. appreciated.

the below code

<label><input type="checkbox" value="2d animation"> 

the text area can added layout xml , hidden until needed

android:visibility="gone" 

once checkbox checked, can check state , show text area

checkbox checkbox = (checkbox) findviewbyid(r.id.checkboxid); if(checkbox.ischecked()){     textarea.setvisiblity(view.visible); } 

you can load of onclicklistener action fires when box checked/unchecked.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -