title: Edittext want to go enable from disable after select the particular item in the spinner items
body: <p>I'm using Spinner,EditText and Button in one page.The spinner has these items ... </p>
  
  <p>Following:</p>
  
  <pre><code> String[] Items = {
              "Alarm",
              "Office",
              "Meeting",
              "Party",
              "Lunch",
              "Breakfast",
              "Supper",
              "Home",
              "Private",
              "Outdoor",
              "Family",
              "Friends",
              "others"
      };
  
      Spinner s1;
  </code></pre>
  
  <p>In it if I select the "others" in spinner items means only the Edittext has to be enable otherwise it has to be disabled.If I select some other item Edittext has to be disabled</p>
  
  <p>Code snippet:</p>
  
  <pre><code>s1 = (Spinner) findViewById(R.id.spinner);
  
      ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this,
          android.R.layout.simple_spinner_item, Items);
  
      s1.setAdapter(adapter);
      s1.setOnItemSelectedListener(new OnItemSelectedListener()
      {
          public void onItemSelected(AdapterView&lt;?&gt; arg0, 
          View arg1, int arg2, long arg3) 
          {
              int index = s1.getSelectedItemPosition();
              Toast.makeText(getBaseContext(), 
                  "You have selected item : " + Items[index], 
                  Toast.LENGTH_SHORT).show();                
          }
  
          public void onNothingSelected(AdapterView&lt;?&gt; arg0) {}
      });
  </code></pre>
  
  <p>Thank you, </p>