# Deflating the LayoutInflater

DevFeed: [Deflating the LayoutInflater](<https://devfeed.tech/articles/deflating-the-layoutinflater-29023.md>)

Original publisher: [Read original article](<https://saket.me/deflating-layoutinflater/>)

Author: Saket Narayan

Published: 2016-08-28T14:46:38Z

Content type: article

Language: en

Sources: [Saket Narayan](<https://devfeed.tech/sources/saket-narayan.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [XML](<https://devfeed.tech/topics/xml.md>), [Java](<https://devfeed.tech/topics/java.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [Library](<https://devfeed.tech/topics/library.md>), [hooks](<https://devfeed.tech/topics/hooks.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [developers](<https://devfeed.tech/tags/developers.md>), [java](<https://devfeed.tech/tags/java.md>), [libraries](<https://devfeed.tech/tags/libraries.md>), [material-design](<https://devfeed.tech/tags/material-design.md>), [public-speaking](<https://devfeed.tech/tags/public-speaking.md>), [talk](<https://devfeed.tech/tags/talk.md>), [writing](<https://devfeed.tech/tags/writing.md>), [xml](<https://devfeed.tech/tags/xml.md>)

## AI overview

This talk explains how Android's LayoutInflater converts XML layouts into Java Views and constructs View hierarchies. It also covers why layout inflation can be slow, why custom Views need fully qualified XML names, how AppCompat back-ports Material Design, and how the Calligraphy library and custom libraries interact with the inflation process.

## Source excerpt

Android developers spend a lot of time writing XML layouts every day. This talk will explain how Android's LayoutInflater works. By the end of this talk, you will have an understanding of how XML gibberish gets converted to Views in Java, how AppCompat is able to back-port Material Design for pre-Lollipop devices auto-magically and how [...] The post Deflating the LayoutInflater appeared first on Saket Narayan.