CHAPTER 7: Making Apps Interactive: Intents, Event Handling, and Menus 249
Now it is time to add in yet another impressive background galaxy image, and change our
Adding a Graphics Asset to the RelativeLayout Container
Let’s perform the same work process that we did in Chapter 6 to add an image to the LinearLayout UI container, except that we’ll use a different editgalaxyscreen.png image, shown highlighted in the Package Explorer pane on the left-hand side of Figure 7-33. Since we are currently using dark text colors (a medium grey hintTextColor parameter default value for the EditText UI elements, and a black textColor value for the Button UI elements), we’ll also need to add parameters for android:textColor and android:textColorHint to change these to white.
Figure 7-33. Add an android:background parameter to the container and editgalaxyscreen.png