December 2016
Intermediate to advanced
682 pages
17h 24m
English
Chapter opener image: © Fon_nongkran/Shutterstock
If we define a View programmatically, we often need to retrieve the height of the content view, which is the total height of the screen minus the heights of the status bar and the action bar.
FIGURE A.1 shows the various parts of a device’s screen. The device’s status bar is shown in yellow: it typically includes some icons for system and application notifications, including the clock. In red is the app’s action bar, which typically includes the app name on the top left and a menu on the right, although it ...
Read now
Unlock full access