• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps validation of edittext in list

Hi,

when user checks the checkbox, then only user can enter the value in to EditText in list.

Or

in a simple manner, how to enter values into edittext in list.

(here the edittext is getting from xml)

Pls suggest me, how to approach...

Thanks,
VJ Chilamkurthy
 
textviews have an "enabled" property you can set in XML, then when the user clicks the checkbox you can call myEditText.setEnabled(true);

be careful with checkboxes in ListViews though, they tend to gobble up click events.

hth
 
Back
Top Bottom