Free Android Layout Programming tutorial, Layouts Part of Android Jetpack. A layout defines the structure for a user interface in your app, such as in an activity. All elements in the layout are built using a hierarchy of View and ViewGroup objects .