How to get supportactionbar when my class extends ExpandableListActivity
问题 I have a class which extends ExpandableListActivity to display my data as explandable list view, now my app supporting older version till API 7 how to add ActionBar using getSupportActionBar() to this class...Please help me out public class Facts extends ExpandableListActivity { public void onCreate(Bundle savedInstanceState) { try{ super.onCreate(savedInstanceState); setContentView(R.layout.facts); SimpleExpandableListAdapter expListAdapter = new SimpleExpandableListAdapter( this,