A (175)

(Tuis.) #1
CHAPTER 15: Developing for Android Wearable Devices 583

Once you have copied the digital image asset, go into Eclipse, and right-click on the project folder.
Use the Refresh menu item to make sure that Eclipse can now “see” this new image asset. Open
the activity_main.xml file in a tab in Eclipse, and add an android:background parameter inside
of the parent container that references this earthtimebackground drawable, as
shown in Figure 15-39.


Figure 15-38. Copy the earthtimebackground.png digital image asset into the EarthTime/res/drawable-mdpi folder


Figure 15-39. Add an android:background parameter to parent referencing earthtimebackground

Free download pdf