... period orientation semicolon. Line 84 is highlighted. Line 85. Blank. Line 86, indented twice. forward slash forward slash display the app's menu only in portrait orientation. Line 87, indented twice. if left parenthesis orientation equals equals Configuration period ORIENTATION underscore PORTRAIT right parenthesis left brace. Line 87 is highlighted. Line 88, indented twice. forward slash forward slash inflate the menu. Line 89, indented 3 times. get Menu Inflater left parenthesis right parenthesis period inflate left parenthesis R period menu period menu underscore main comma menu right parenthesis semicolon. Line 90, indented 3 times. return true semicolon. Line 91, indented twice. right brace. Line 92, indented twice. else. Line 93, indented 3

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.