Search code examples
androidactionbarsherlockandroid-custom-view

Android custom view shows up even if all source files are deleted


Using SherlockActionBar I wrote a custom actionProviderClass (a spinner) for one of the action bar items.

I decided I don't need it and deleted all the files for it as well as the actionProviderClass attribute in the menu file. I even removed the spinner's values from strings.xml.

However, if I switch to horizontal orientation, the damn thing still shows up. I tried a fresh emulator as well as a device and it still happens. I also cleaned the project in Eclipse.

I guess something is being cached somewhere, anyone have any ideas?


Solution

  • User error here.

    SherlockActionBar will collapse tabs into a spinner sometimes even though there is space for views