how to enter text on screen using theme.xml



  • how to enter text on screen using theme.xml??

    I Tried

    <view name="basic, detailed, grid">                                 <fontPath>./_art/menu.ttf</fontPath>    
    <fontSize>0.018</fontSize>
    <pos>0.48 0.98</pos>
    <textColor>FFFFFF</textColor>
    <text>MY TEXT</text>                                                                    </view>
    

    images I can add without problems .. but I can not add text .. anyone help me?

    <image name="logo2" extra="true">
    <path>./$system/system.png</path>
    <color>ffffff</color>
    <origin>0.5 0.5</origin>
    <pos>0.695 0.14</pos> <!-- logo 2 edit-->
    <maxSize>0.14 0.1</maxSize>
    </image>



  • I'm not sure but i think you should put your <text> tag inside a <text> element.

    Example :

    <text name="TEST">
    <text>MY TEXT</text>
    <pos>0.48 0.98</pos>
    <color>FFFFFF</color>
    <fontSize>0.1</fontSize>
    </text>


Log in to reply
 

Want to support us ?

Join us on :

401
Online

31016
Users

15109
Topics

113706
Posts

Looks like your connection to Recalbox Forum was lost, please wait while we try to reconnect.