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
Post a Comment