Anko is a Kotlin library that makes Android development a lot faster and easier. It also makes the code clean and concise. Most of us are used to writing XML layouts for UI in Android, which is redundant and neither type safe nor null safe. It also eats CPU time and battery to parse XML on a device. Some who programmatically write layouts know how large the code becomes, and it is also very difficult to maintain.
With Anko, we can use DSL to define layouts. The advantages of using DSL is that they are easy to read and write and they have no runtime overhead. If you are familiar with Android development and XML layouts, this chapter will help you quickly get started with Anko layouts.