Articles in Android UI

Android UI

Android ViewBinding vs DataBinding

Both solve findViewById crashes, but they're very different. ViewBinding is lightweight with type-safe View access. DataBinding lets you bind data dir...

Android UI

Android Custom Views

When built-in Views aren't enough, build your own. This guide covers three approaches (extend, compound, fully custom), the @JvmOverloads constructor ...

Android UI

Android Material Design Components

Material Components give you production-quality, themed widgets out of the box. This guide covers setup with Material3 theme, TopAppBar with collapsin...

Android UI

Android ConstraintLayout

ConstraintLayout is the most powerful and recommended layout in Android — flat hierarchy, single measure pass, no nesting needed. This guide cov...

Android UI

Android RecyclerView

RecyclerView is the most important UI component in Android. This guide covers why recycling matters, complete setup with ListAdapter and DiffUtil, Vie...

Android UI

Android Views and ViewGroups

Every pixel on an Android screen is drawn by a View, and every View lives inside a ViewGroup. This guide covers the View hierarchy, essential Views (T...