Hello,
i have 1 issues in nifty on adnroid that i do not reproduce on my laptop
here is my XML file
<?xml version=“1.0” encoding=“UTF-8”?>
<nifty xmlns=“http://nifty-gui.sourceforge.net/nifty-1.3.xsd” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://nifty-gui.sourceforge.net/nifty-1.3.xsd http://nifty-gui.sourceforge.net/nifty-1.3.xsd”>
<!-- +++++++++++++++++++++++++++++++++++++++ -->
<!-- start screen -->
<!-- +++++++++++++++++++++++++++++++++++++++ -->
<screen id=“start” controller=“bombastic.jme.hud.CountersUI”>
<layer id="layer" childLayout="center">
<!-- *********************************-->
<!-- INFO Panel on the top Left Corner-->
<!-- *********************************-->
<panel id="InfoScore" height="25%" width="25%" align="left" valign="top" childLayout="center" >
<panel id="InfoPanel" valign="center" align="left" childLayout="center" height="100%" width="50%">
<!-- TODO make the image resizable-->
<image filename="Interface/image/InfoFrame.png" align="center" valign="center" height="100%" width="100%"></image>
</panel>
<panel id="Score" align="right" valign="center" childLayout="vertical" height="100%" width="50%">
<panel id="P1Score" align="center" valign="top" childLayout="center" visibleToMouse="true" height="50%" width="100%">
<text id="text_SCORE_lblP1" font="Interface/font/menu.fnt" color="#7475edff" text="SCORE" align="left" valign="top" />
<text id="text_SCORE_valP1" font="Interface/font/menu.fnt" color="#7475edff" text="00000000" align="left" valign="bottom" />
</panel>
<panel id="RECORD" align="center" valign="bottom" childLayout="center" height="50%" width="100%">
<text id="text_RECORD_lbl" font="Interface/font/menu.fnt" color="#7475edff" text="RECORD" align="left" valign="top" />
<text id="text_RECORD_val" font="Interface/font/menu.fnt" color="#7475edff" text="00000000" align="left" valign="bottom" />
</panel>
</panel>
</panel>
<!-- *********************************-->
<!-- LVL Panel on the top centered -->
<!-- *********************************-->
<panel id="LevelPanel" height="15%" width="20%" align="center" valign="top" childLayout="vertical" >
<text id="text_LEVEL_lbl" font="Interface/font/menu.fnt" color="#7475edff" text="LEVEL" align="center" valign="top" />
<text id="text_LEVEL_val" font="Interface/font/menu.fnt" color="#7475edff" text="01" align="center" valign="bottom" />
</panel>
<panel id="BoardPanel" height="85%" width="60%" align="center" valign="bottom" childLayout="center" >
<image filename="Interface/image/transparent.png" width="100%" height="100%"/>
</panel>
<!-- *************************************-->
<!-- CLASS Panel on the bottom Left Corner-->
<!-- *************************************-->
<panel id="ClassComboPanel" height="25%" width="20%" align="right" valign="bottom" childLayout="center" >
<panel id="ClassPanel" height="50%" width="100%" align="right" valign="top" childLayout="center" >
<text id="text_CLASSP1_lbl" font="Interface/font/menu.fnt" color="#7475edff" text="CLASS" align="left" valign="top" />
<text id="text_CLASS_valP1" font="Interface/font/menu.fnt" color="#7475edff" text="E" align="left" valign="bottom" />
</panel>
<panel id="ComboPanel" height="50%" width="100%" align="right" valign="bottom" childLayout="center">
<text id="text_COMBO_lblP1" font="Interface/font/menu.fnt" color="#7475edff" text="COMBO" align="left" valign="top" />
<text id="text_COMBO_valP1" font="Interface/font/menu.fnt" color="#7475edff" text="X 000" align="left" valign="bottom" />
</panel>
</panel>
<!-- *************************************-->
<!-- CONTROL Panel on the bottom right Corner-->
<!-- *************************************-->
<panel id="ControlPanel" height="192" width="192" align="left" valign="bottom" childLayout="center" visibleToMouse="true">
<panel id="ControlPanelLeft" height="100%" width="64" align="left" valign="center" childLayout="center" visibleToMouse="true">
<image filename="Interface/image/DPAD/LeftPAD.png" align="right" valign="center" >
<interact onClickRepeat="left()" />
<interact onMouseOver="left()" />
</image>
</panel>
<panel id="ControlPanelRight" height="100%" width="64" align="right" valign="center" childLayout="center" visibleToMouse="true">
<image filename="Interface/image/DPAD/RightPAD.png" align="left" valign="center">
<interact onClickRepeat="right()" />
<interact onMouseOver="right()" />
</image>
</panel>
<panel id="ControlPanelUp" height="50%" width="64" align="center" valign="top" childLayout="center" visibleToMouse="true">
<image filename="Interface/image/DPAD/UpPAD.png" align="center" valign="top" >
<interact onClickRepeat="up()" />
<interact onMouseOver="up()" />
</image>
</panel>
<panel id="ControlPanelDown" height="50%" width="64" align="center" valign="center" childLayout="center" visibleToMouse="false">
<image filename="Interface/image/DPAD/CenterPAD.png" align="center" valign="center" />
</panel>
<panel id="ControlPanelDown" height="50%" width="64" align="center" valign="bottom" childLayout="center" visibleToMouse="true">
<image filename="Interface/image/DPAD/DownPAD.png" align="center" valign="bottom" >
<interact onClickRepeat="down()" />
<interact onMouseOver="down()" />
</image>
</panel>
</panel>
</layer>
</screen>
</nifty>
here is the rendering i have on my laptop : http://hpics.li/204d148
here is the one on my android device : http://hpics.li/a906f0f
any idea about what should i do in order to make those 2 issues vanishing ?
Thanks for your help
Note: nifty.validateXml(HUDXmlFile); returns an exception but not on my laptop