jf-roku/components/music/MusicAlbumDetails.xml

30 lines
1.5 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8" ?>
<component name="MusicAlbumDetails" extends="JFGroup">
<children>
<LayoutGroup id="toplevel" layoutDirection="vert" itemSpacings="[-10]" >
<LayoutGroup id="main_group" layoutDirection="horiz" itemSpacings="[15]" >
2022-05-14 21:14:15 +00:00
<LayoutGroup layoutDirection="vert" itemSpacings="[15]">
2022-05-21 20:45:01 +00:00
<Poster id="albumCover" width="450" height="450" />
2022-05-14 21:14:15 +00:00
<Label id="numberofsongs" width="450" height="25" />
<Label id="genres" width="450" height="25" />
<Label id="runtime" width="450" height="25" />
<Label id="released" width="450" height="25" />
2022-05-21 15:45:38 +00:00
<JFButton id="playAlbum" minChars="8" text="Play Album"></JFButton>
2022-05-14 21:14:15 +00:00
</LayoutGroup>
<LayoutGroup layoutDirection="vert" itemSpacings="[15]">
<Label id="overview" wrap="true" width="1250" maxLines="5" />
<MusicAlbumSongList id="songList" itemSize="[ 1250, 60 ]" numRows="8" />
</LayoutGroup>
</LayoutGroup>
</LayoutGroup>
</children>
<interface>
2022-05-21 20:45:01 +00:00
<field id="pageContent" type="node" onChange="pageContentChanged" />
<field id="albumData" type="assocarray" alias="songList.MusicArtistAlbumData" />
<field id="playSong" alias="songList.itemSelected" />
2022-05-15 19:10:21 +00:00
<field id="playAllSelected" alias="playAlbum.buttonSelected" />
</interface>
<script type="text/brightscript" uri="pkg:/source/utils/misc.brs" />
<script type="text/brightscript" uri="MusicAlbumDetails.brs" />
</component>