A (175)

(Tuis.) #1

638 CHAPTER 16: The Future of Android: The 64-Bit Android 5.0 OS


Once the AndroidManifest.xml file is open in the central editing pane of the IDE, you can upgrade
a child tag under the tag inside of your tag inside of your


tag to reference the LEANBACK_LAUNCHER, which is used for Android TV, rather
than the default LAUNCHER, which is used for smartphones and tablets. As you can see in
Figure 16-56, IntelliJ will help you as you are typing in the new constant value. You can type it in
yourself, double-click the suggestion, or use Control+Period to select.

Figure 16-55. Right-click the AndroidManifest.xml file (in the /app/src/main folder) and use the Jump to Source option


Figure 16-56. Edit the structure tag; change LAUNCHER to LEANBACK_LAUNCHER

Free download pdf