In this section, you’ll modify the AndroidManifest.xml
file to specify that this app’s Activity
supports only a device’s portrait orientation and that the soft keypad should always remain on the screen. You’ll use the IDE’s Android Manifest editor to specify these settings. To open the Android Manifest editor, double click the app’s AndroidManifest.xml
file in the Package Explorer. At the bottom of the editor, click the Application tab (Fig. 3.17), then select the MainActivity
node in the Application Nodes section at the bottom of the window. This displays settings for the MainActivity
in the Attributes for com.deitel.tipcalculator.MainActivity section.