SnomIPPhoneMenu #
- Name Attribute in Menu and MenuItem is required.
- The speedselect method can be used to select/choose all available menu item
Demo
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../minibrowser_test.xsd">
<Menu name="name attr menu">
<Title>2nd layer title tag</Title>
<MenuItem name="2nd,1st menuitem"/>
<MenuItem name="2nd,2nd menuitem"/>
</Menu>
<MenuItem name="name attr menuitem"/>
<MenuItem name="name tag menuitem"/>
</SnomIPPhoneMenu>
Result
Image #
Warning
This section refers to the Image tag used as a MenuItem subtag
Demo
- If no image is given as default, the icon on the left side of the text will be left blank (transparent).
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../minibrowser_test.xsd">
<MenuItem name="local:snom photo unknown ">
<Image default="file:///bmp/colored/snom_photo_unknown.png">file:///bmp/colored/snom_photo_unknown.png</Image>
</MenuItem>
<MenuItem name="local:snom820_icon_buddy_dnd.png">
<Image default="file:///bmp/colored/snom_photo_unknown.png">file:///bmp/colored/snom820_icon_buddy_dnd.png</Image>
</MenuItem>
<MenuItem name="url image1">
<Image default="file:///bmp/colored/snom_photo_unknown.png">http://docs.snom.io/xml_minibrowser/examples/img/Icon_radiation.png</Image>
</MenuItem>
<MenuItem name="invalid url/image without default">
<Image>http://randomurl.com/random_image.png</Image>
</MenuItem>
<MenuItem name="invalid url/image">
<Image default="file:///bmp/colored/snom_photo_unknown.png">http://randomurl.com/random_image.png</Image>
</MenuItem>
</SnomIPPhoneMenu>
Result
Icon #
Demo
- All the snom phones with branding features can use internal icon on file://snom/bmp/colored. More available icon name can be found inside tar archive with file name prefix 'snom820_icon_' on branding instruction page.
- To use an external image use Image instead.
<?xml version="1.0" encoding="UTF-8"?>
<SnomIPPhoneMenu>
<Title>Icon tag branding icon only</Title>
<MenuItem name="snom820_icon_buddy_dnd.png">
<Icon>file:///bmp/colored/snom820_icon_buddy_dnd.png</Icon>
</MenuItem>
<MenuItem name="snom820_icon_buddy_offline.png">
<Icon>file:///bmp/colored/snom820_icon_buddy_offline.png</Icon>
</MenuItem>
<MenuItem name="snom820_icon_buddy_online.png">
<Icon>file:///bmp/colored/snom820_icon_buddy_online.png</Icon>
</MenuItem>
<MenuItem name="snom820_icon_contact_state_available.png">
<Icon>file:///bmp/colored/snom820_icon_contact_state_available.png</Icon>
</MenuItem>
<MenuItem name="snom820_icon_contact_state_away.png">
<Icon>file:///bmp/colored/snom820_icon_contact_state_away.png</Icon>
</MenuItem>
<MenuItem name="snom820_icon_contact_state_busy.png"><br/>
<Icon>file:///bmp/colored/snom820_icon_contact_state_busy.png</Icon>
</MenuItem>
</SnomIPPhoneMenu>
Results