Grandstream Networks, Inc.
XML Application Guide
Page 10 of 24
Last Updated: 3/2009
E
XAMPLE
I
DLE
S
CREEN
S
AMPLE
F
ILE
E
XAMPLE
1
<?
xml
version
=
"
1.0
"
?>
<!--
This file creates identical result to GXP-2000 default behavior
-->
<
Screen
>
<
IdleScreen
>
<
ShowStatusLine
>
true
</
ShowStatusLine
>
<
DisplayString
font
=
"
f8
"
>
<
DisplayStr
>
$W, $M $d
</
DisplayStr
>
<
X
>
0
</
X
>
<
Y
>
0
</
Y
>
</
DisplayString
>
<
DisplayString
font
=
"
f13h
"
halign
=
"
Center
"
a1reg
=
"
false
"
>
<
DisplayStr
>
$N
</
DisplayStr
>
<
X
>
65
</
X
>
<
Y
>
12
</
Y
>
</
DisplayString
>
<
DisplayString
font
=
"
f13b
"
halign
=
"
Center
"
a1reg
=
"
true
"
>
<
DisplayStr
>
$N
</
DisplayStr
>
<
X
>
65
</
X
>
<
Y
>
12
</
Y
>
</
DisplayString
>
<
DisplayString
font
=
"
f13h
"
halign
=
"
Center
"
a1reg
=
"
false
"
>
<
DisplayStr
>
$X
</
DisplayStr
>
<
X
>
65
</
X
>
<
Y
>
26
</
Y
>
</
DisplayString
>
<
DisplayString
font
=
"
f13b
"
halign
=
"
Center
"
a1reg
=
"
true
"
>
<
DisplayStr
>
$X
</
DisplayStr
>
<
X
>
65
</
X
>
<
Y
>
26
</
Y
>
</
DisplayString
>
<
DisplayString
halign
=
"
Center
"
valign
=
"
Bottom
"
>
<
DisplayStr
>
$I
</
DisplayStr
>
<
X
>
65
</
X
>
<
Y
>
48
</
Y
>
</
DisplayString
>
</
IdleScreen
>
</
Screen
>
E
XAMPLE
2
<?
xml
version
=
"
1.0
"
?>
<!--
The example shows how to program the softkeys for GXP-2020/2010
-->
<
Screen
>
<
IdleScreen
>
<
DisplayBitmap
>
<
Bitmap
>///// </
Bitmap
>
<
X
>0</
X
>
<
Y
>0</
Y
>
</
DisplayBitmap
>
<
DisplayString
font
=
"
f8
"
>
<
DisplayStr
>
$W, $M $d
</
DisplayStr
>
<
X
>
0
</
X
>
<
Y
>
0
</
Y
>
</
DisplayString
>
<
DisplayString
font
=
"
f13h
"
halign
=
"
Center
"
a1reg
=
"
false
"
>
<
DisplayStr
>
$N
</
DisplayStr
>
<
X
>
70
</
X
>
<
Y
>
12
</
Y
>
</
DisplayString
>
<
DisplayString
font
=
"
f13b
"
halign
=
"
Center
"
a1reg
=
"
true
"
>
<
DisplayStr
>
$N
</
DisplayStr
>
<
X
>
70
</
X
>
<
Y
>
12
</
Y
>
</
DisplayString
>
<
DisplayString
font
=
"
f13h
"
halign
=
"
Center
"
a1reg
=
"
false
"
>
<
DisplayStr
>
$X
</
DisplayStr
>
<
X
>
70
</
X
>
<
Y
>
26
</
Y
>
</
DisplayString
>
<
DisplayString
font
=
"
f13b
"
halign
=
"
Center
"
a1reg
=
"
true
"
>
<
DisplayStr
>
$X
</
DisplayStr
>
<
X
>
70
</
X
>