SnomIPPhoneText #
- The text will be cut on the telephone with color display if it is too long.
- br tag will ignored if put right after opening tag.
Demo
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneText>
<Title>Demo</Title>
<Text>
Welcome to the Snom Technology AG
<br/>
Hello World!
</Text>
</SnomIPPhoneText>
Result
Image #
Warning
This section refers to the Image tag used as a SnomIPPhoneText subtag
Demo
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneText xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../minibrowser_test.xsd">
<LocationX>145</LocationX>
<LocationY>23</LocationY>
<!-- use this value of LocationY to avoid conflict with upper bar -->
<Text>Hello world:<br/>second line<br/>third line
<br/>nothing to write<br/>no line</Text>
<Image default="file:///bmp/colored/snom_photo_unknown.png">
<LocationX>2</LocationX>
<LocationY>23</LocationY>
<Url>http://docs.snom.io/xml_minibrowser/examples/img/cloud.png</Url>
</Image>
</SnomIPPhoneText>
Result