jf-roku/components/music/AlbumView.xml

35 lines
1.9 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8" ?>
2022-07-19 00:42:22 +00:00
<component name="AlbumView" extends="JFScreen">
<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-06-08 13:08:05 +00:00
<JFButton id="instantMix" minChars="8" text="Instant Mix"></JFButton>
2022-05-14 21:14:15 +00:00
</LayoutGroup>
<LayoutGroup id="infoGroup" layoutDirection="vert" itemSpacings="[15]">
<Label id="overview" wrap="true" height="310" width="1250" ellipsisText=" ... (Press * to read more)" />
<Rectangle id='songListRect' translation="[-30, 0]" width="1260" height="510" color="0x202020ff">
2022-07-19 00:42:22 +00:00
<AlbumTrackList id="songList" translation="[45, 25]" itemSize="[1170,60]" numRows="7" />
</Rectangle>
</LayoutGroup>
</LayoutGroup>
</LayoutGroup>
2022-05-22 21:32:03 +00:00
<Spinner id="spinner" translation="[920, 540]" visible="false" />
</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" />
2022-06-08 13:08:05 +00:00
<field id="instantMixSelected" alias="instantMix.buttonSelected" />
</interface>
<script type="text/brightscript" uri="pkg:/source/utils/misc.brs" />
2022-07-19 00:42:22 +00:00
<script type="text/brightscript" uri="AlbumView.brs" />
</component>