Creating an application bar

We are continuing our journey through Android Application Development. So far, we have created a base for our application, defined the ground for a UI, and created major screens; however, these screens are not connected. In this chapter, we will connect them and make fantastic interaction.

Since everything starts from our MainActivity class, we will apply some improvements before we set some actions to trigger other screens. We have to wrap it with an application bar. What is an application bar? It's a piece of the UI that is used to access other parts of the application and provide visual structure with interactive elements. We already have one, but it's not the usual Android application bar. At this point, our ...

Get Mastering Android Development with Kotlin now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.