A (175)

(Tuis.) #1

240 CHAPTER 7: Making Apps Interactive: Intents, Event Handling, and Menus


If you toggle over into Graphical Layout mode (view), shown in Figure 7 -2 3 , you will see a drastic
change in your UI layout design, which has just become an order of magnitude more professional in its
appearance than it was before you added the hint and Button text label string constant value references.
This great-looking result was achieved by using only one RelativeLayout toRightOf reference, and if we
only had one EditText and Button UI element in the design, this would be a relatively (no pun intended)
simple UI design. However, we have another half-dozen UI elements to incorporate into this UI design,
not to mention some cool background image work that we will need to do to make this UI design match
up with the “visual wow factor” within our MainActivity UI screen design.


Figure 7-23. Previewing the configured and

Free download pdf