Android Programming The Big Nerd Ranch Guide by Bill Phillips, Chris Stewart, Kristin Marsicano (z-lib.org)

(gtxtreme123) #1

Chapter 1  Your First Android Application


Figure 1.9 shows how the RelativeLayout and TextView defined in Listing 1.1 would appear on
screen.


Figure 1.9  Default widgets as seen on screen


But these are not the widgets you are looking for. The interface for QuizActivity requires five
widgets:



  • a vertical LinearLayout

  • a TextView

  • a horizontal LinearLayout

  • two Buttons

Free download pdf