# Custom Views in Android with Kotlin (KAD 06)

DevFeed: [Custom Views in Android with Kotlin (KAD 06)](<https://devfeed.tech/articles/custom-views-in-android-with-kotlin-kad-06-27150.md>)

Original publisher: [Read original article](<https://antonioleiva.com/custom-views-android-kotlin>)

Published: 2016-12-27T00:00:00Z

Content type: tutorial

Language: es

Sources: [Antonio Leiva](<https://devfeed.tech/sources/antonio-leiva.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [XML](<https://devfeed.tech/topics/xml.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [xml](<https://devfeed.tech/tags/xml.md>)

## AI overview

This tutorial explains how to create custom Android views in Kotlin. It covers Android's need for multiple constructors when views are created from code or XML, Kotlin's constructor syntax and nullability, and a simpler alternative mentioned in the comments.

## Source excerpt

Everything Android, Kotlin and other random topics