A (175)

(Tuis.) #1

578 CHAPTER 15: Developing for Android Wearable Devices


Figure 15-33. Copy and paste the neptuneIcon ImageView underneath itself and create a jupiterIcon ImageView


Copy and paste the second tag structure underneath itself, as shown in Figure 15-33,
and create the third planet icon UI element. Change “neptune” to “jupiter” for the ID,
contentDescription, and drawable source parameters and change the layout_gravity constant from
“right” to “bottom.”


Figure 15-32. Use the Graphical Layout Editor to preview the neptuneIcon UI element’s placement

Free download pdf