Skip to main content
Logo Appt Light

Screen title on Android

Each screen should have a descriptive title, which helps users with identifying the screen.

On Android, we recommend using a Toolbar with an appropriate title on each screen.

override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.appt)

    val toolbar = findViewById(R.id.toolbar)
    setSupportActionBar(toolbar)
    title = "Appt homescreen"
}

Feedback?

Let us know!