© 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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.