main.xml layout resource, we need to add the
View objects which will form the Reservation tab. Currently it consists only of an empty
ScrollView, which enables vertically-long layouts to be scrolled by the user if the entire user interface doesn't fit on the screen.
main.xmlfile in your editor or IDE.
<ScrollView>we had created for the
Reservationtab earlier. Declare a new vertical
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content">
LinearLayoutelement, create a
TextViewto ask the user under what name the reservation should be made:
<TextView android:text="Under ...