Chapter 2 Creating Device Property Files 13
FIGURE3 Soft Button Label Areas on the Emulated Device Display
A soft button label display is defined by a line of the form:
softbutton.<number> = <
x
>,<
y
>,<
width
>,<
height
>,<
font
>,<
align
>
where the parameters are defined as follows:
The coordinates of the soft button label area:
x: The x-coordinate of the left edge of the label area, in pixels relative to the
left edge of the screen area
y: The y-coordinate of the top edge of the label area, in pixels relative to the
top edge of the screen area
width: The width of the label, in pixels
height: The height of the label, in pixels
font: The font of the soft button label
align: The alignment of the text of the soft button label within its area: "left",
"right" or "center"
2. Enter the following measured values for the soft button properties in
NewPhone.properties:
Soft button labels
x
y
height width
Soft Button Display Area
Full Dimension Name:
softbutton.<dimension>