... toolbar right parenthesis semicolon. Line 19. blank. Line 20, indented twice. forward slash forward slash determine screen size. Line 21, indented twice. i n t screen Size equals. Line 22, indented 3 times. get Resources left parenthesis right parenthesis period get Configuration left parenthesis right parenthesis period screen Layout ampersand. Line 23, indented 4 times. Configuration period SCREEN LAYOUT underscore SIZE underscore MASK semicolon. Line 24. blank. Line 25, indented twice. forward slash forward slash use landscape for extra large tablets semicolon otherwise comma use portrait. Line 26, indented twice. if left parenthesis screen Size equals equals right parenthesis. Line 27, indented 3 times. set Requested Orientation left parent
Get Android How to Program, 3/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.