I have an old project in eclipse which uses the Sherlock actionbar, however I would like to replace this actionbar with AppTheme or AppCompat actionbar. I want the actionbar to have the same features such as, dropdown list view. Please help.
public class MainActivity extends SherlockActivity implements ActionBar.OnNavigationListener,
OnItemClickListener {
@Override protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Context context = getSupportActionBar().getThemedContext();
R.layout.sherlock_spinner_item);
list.setDropDownViewResource(R.layout.sherlock_spinner_dropdown_item);
getSupportActionBar().setNavigationMode(ActionBar.NAVIGATION_MODE_LIST);
getSupportActionBar().setListNavigationCallbacks(list, this);