How to use ActionBarActivity of \"android-support-v7-appcompat\" in the activity which Extends the ListActivity.
For Example I have an Activity
publ
Maybe you can try to extend ActionBarActivity and for default layout for that activity set some layout that has ListView.
Something like this:
public class AlarmListActivity extends ActionBarActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.layout_with_list_view);
ListView lv = (ListView) findViewById(R.id.listView1);
// populate list view
}
}
and correcponding layout file: