# The power of TextView (Part 1): Drawables

DevFeed: [The power of TextView (Part 1): Drawables](<https://devfeed.tech/articles/the-power-of-textview-part-1-drawables-27228.md>)

Original publisher: [Read original article](<https://antonioleiva.com/textview_power_drawables>)

Published: 2014-01-30T00:00:00Z

Content type: tutorial

Language: en

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

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

Tags: [android](<https://devfeed.tech/tags/android.md>), [code](<https://devfeed.tech/tags/code.md>), [layout](<https://devfeed.tech/tags/layout.md>), [lint](<https://devfeed.tech/tags/lint.md>), [properties](<https://devfeed.tech/tags/properties.md>), [textview](<https://devfeed.tech/tags/textview.md>)

## AI overview

This Android tutorial explains how TextView compound drawables can place images beside text using drawableLeft, drawableRight, drawableTop, drawableBottom, and drawablePadding. It shows how this approach can replace a LinearLayout and ImageView, reducing layout complexity and simplifying XML.

## Source excerpt

Everything Android, Kotlin and other random topics