January 2014
Intermediate to advanced
736 pages
70h 43m
English
This app uses a GridLayout (Fig. 3.3) to arrange views into five rows and two columns. Each cell in a GridLayout can be empty or can hold one or more views, including layouts that contain other views. Views can span multiple rows or columns, though we did not use that capability in this GUI. You can specify a GridLayout’s number of rows and columns in the Properties window.
Fig. 3.3 | Tip Calculator GUI’s GridLayout labeled by its rows and columns.
Each row’s height is determined by the tallest view in that row. Similarly, the width of a column is defined by the widest view in that column. By default, views are ...
Read now
Unlock full access