Use a ListFragment
from the support library http://developer.android.com/reference/android/support/v4/app/ListFragment.html
You can use AppCompact
and extend ActionBarActivity
. In ListFragment
you can use setListAdapter(adapter)
.
If you don't want ListFrament
you can have a Listview
in activity layout, set the layout to the activity, initialize it in Activity and set adapter to ListView
.