Using Android Studio 2.1.1, and presupposing that the templates offered are best (or at least sufficient) practice, I wondered how and why the toolbar is not available/visible when I create a simple app from scratch, and how to have the Toolbar show in the ListView. The target API's include 15 and up.

The process I used was to create a new app, Minimum SDK API15, and select "Basic Activity" in the gallery, it creates activity\_main.xml and content\_main.xml, neither of which do I alter. The Basic Activity includes a floating action button (an easy way to launch a new activity). I create "MyListActivity.java", which extends `ListActivity`, and I call that from "MainActivity.java" when the floating action bar is clicked.

```
public class MyListActivity extends ListActivity {

    private ArrayAdapter<String> mAdapter;
    private ListView myListView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        myListView = getListView();
        String[] osArray = { "Android", "iOS", "Windows", "OS X", "Linux","Android", "iOS", "Windows", "OS X", "Linux","Android", "iOS", "Windows", "OS X", "Linux","Android", "iOS", "Windows", "OS X", "Linux" };

        int x = android.R.layout.list_content;
        mAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, osArray);
        myListView.setAdapter(mAdapter);
    }
}

```

When the list comes-up, there is no toolbar.

[![list without toolbar](https://i.stack.imgur.com/Jv4Fe.png)](https://i.stack.imgur.com/Jv4Fe.png)

I have made attempts to use a layout with a style that includes a toolbar, but since some of this is 'under the covers', I've not been successful at finding the right way to do that.