© Ted Hagos 2018
Ted HagosLearn Android Studio 3 with Kotlinhttps://doi.org/10.1007/978-1-4842-3907-0_10

10. Activities and Layouts

Ted Hagos1 
(1)
Manila, National Capital Region, Philippines
 
What we’ll cover:
  • Activities and layouts

  • View and ViewGroup objects

  • Activity lifecycle

  • Kotlin Android Extension

Most programs need an entry point or a beginning routine where all execution begins. Even the simple “Hello World” in previous examples required a main function as an entry point. Android programs are the same, it also needs its own version of the “function main.” But the entry point of an Android program isn’t just a function called “main”—it’s a bit more involved than that. In this chapter, we’ll explore the structure of a basic app. We’ll take a look ...

Get Learn Android Studio 3 with Kotlin: Efficient Android App Development 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.