I\'m using Spinner,EditText and Button in one page.The spinner has these items ...
Following:
String[] Items = { \"Alarm\", \"O
I assume that you get the value from the Spinner.
After getting the value using condition u set the edittext enabled or disabled through this code:
EditText.setEnabled(BooleanValue);
true is default value and false set the edittext disabled.