jf-roku/components/music/NowPlaying.xml

33 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<component name="NowPlaying" extends="JFGroup">
<children>
<Poster id="backdrop" opacity=".5" loadDisplayMode="scaleToZoom" width="2000" height="1200" blendColor="#3f3f3f" />
<LayoutGroup id="toplevel" layoutDirection="vert" itemSpacings="[-10]" >
<LayoutGroup id="main_group" layoutDirection="horiz" itemSpacings="[15]" >
<LayoutGroup layoutDirection="vert" itemSpacings="[15]">
<Poster id="albumCover" width="450" height="450" />
<Label id="numberofsongs" width="450" height="25" horizAlign="left" />
</LayoutGroup>
<LayoutGroup layoutDirection="vert" horizAlignment="left" itemSpacings="[15]">
<Label id="artist" width="450" height="25" horizAlign="left" />
<Label id="song" width="450" height="25" horizAlign="left" />
<Label id="album" width="450" height="25" horizAlign="left" />
<LayoutGroup id="controlButtons" layoutDirection="horiz" itemSpacings="[15]">
<JFButtons id="buttons" />
</LayoutGroup>
</LayoutGroup>
</LayoutGroup>
</LayoutGroup>
</children>
<interface>
<field id="backgroundContent" type="array" />
<field id="pageContent" type="nodearray" onChange="pageContentChanged" />
<field id="audio" type="node" />
</interface>
<script type="text/brightscript" uri="pkg:/source/utils/misc.brs" />
<script type="text/brightscript" uri="NowPlaying.brs" />
<script type="text/brightscript" uri="pkg:/source/api/Image.brs" />
<script type="text/brightscript" uri="pkg:/source/api/baserequest.brs" />
<script type="text/brightscript" uri="pkg:/source/utils/config.brs" />
</component>