Chapter 12
Android’s LinearLayout Class: Horizontal and Vertical UI Design
Android’s LinearLayout class has become one of the most often used layout container classes, and for very good reasons. Like the FrameLayout, it is memory efficient, simple to implement, and efficiently provides the basic user interface layout designs that are so popular on the Internet today.
These designs generally feature either a row of buttons or icons along the top of the webpage (or in this case the application screen) or alternatively down the side of the webpage or app. As we learned previously, the Android OS guidelines prefer that we use the left side of the screen for UI design elements, however, with the advent of LTR and RTL designations (in Android ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access