title: setVisibility() is not refreshing the activity layout
body: <p>I am setting the visibility of a button as VISIBLE or GONE on spinner item selection:-</p>
  
  <pre><code>selectUserTypeSpinner.setOnItemSelectedListener(new OnItemSelectedListener() {
              @Override
              public void onItemSelected(AdapterView&lt;?&gt; parent, View view,
                      int position, long id) {
                  FilterUserType newUserType = FilterUserType.get(position);
                  if(filter.userType != newUserType){
                      filter.userType = newUserType;
                      ScrollView mainScrollView =  (ScrollView) findViewById(R.id.mainLayout);
                      switch (newUserType) {
                      case AnyUser:
                      case CurrentUser:{
                          selectUserBtn.setVisibility(View.GONE);
                          break;
                      }
                      case SpecificUser:{
                          selectUserBtn.setVisibility(View.VISIBLE);
                          break;
                      }
                      default:
                          break;
                      }
                  }
              }
  
              @Override
              public void onNothingSelected(AdapterView&lt;?&gt; parent) {}
  
          });
  </code></pre>
  
  <p>Here the problem is that my view is not refreshing after this action, but when I select one EditText on the page and keyboard is up.. at that time it refreshes and shows the desired behaviour.</p>
  
  <p>I have tried editing switch-case as:-</p>
  
  <pre><code>switch (newUserType) {
      case AnyUser:
      case CurrentUser:{
          selectUserBtn.setVisibility(View.GONE);
          mainScrollView.invalidate();
          break;
      }
      case SpecificUser:{
          selectUserBtn.setVisibility(View.VISIBLE);
          mainScrollView.invalidate();
          break;
      }
      default:
          break;
      }
  }
  </code></pre>
  
  <p>But this is also not working</p>
  
  <p>FYI, I am using <code>HoloEverywhere</code> theme in my project and this spinner is from HoloEverywhere widgets.</p>