import android.app.ActionBar;
import android.os.Bundle;
import android.support.v7.app.ActionBarActivity;
public class MainActivity extends ActionBarActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ActionBar.setDisplayShowHomeEnabled(false);
ActionBar.setDisplayShowTitleEnabled(false);
ActionBar.setCustomView(R.layout.custom_action_bar);
ActionBar.setDisplayShowCustomEnabled(true);
setContentView(R.layout.main);
}
}
the four lines including ActionBar showing error that: Cannot make a static reference to the non-static method setDisplayShowHomeEnabled(boolean) from the type ActionBar. pls help.