C H A P T E R 4
One other global, unique to this application, is set. It is the constant
set to the string
This proto serves as the template for the application base view. This section shows
you how to use it to set up the
application base view
status bar; for layout-level control of the appearance and disappearance of
Setting Up the Application Base View
The application base view template,
, should contain the basic
application element protos. When you use NTK to create the layout for the
proto, you add to it a
proto (the status bar
at the bottom of the application) and a
(the folder tab across
the top of the application).
Follow these steps to create the application base view:
1. Create a new layout and draw a
proto in it.
2. Place a
across the bottom of the layout.
3. Name the
4. Place a
proto across the top of the layout.
5. Save the layout file as
6. Name the layout frame
There are more than a dozen slots that need to be set in a
proto. Several of the
slots can be set quickly. Set these slots
. Note that you must define this constant.
. This constant is automatically
defined by NTK.
. Note that you'll see this displayed on a