jf-roku/components/TVShowItemDetails.xml
2019-03-11 11:59:15 -05:00

48 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<component name="TVShowItemDetailScene" extends="Scene">
<children>
<LayoutGroup id="main_group" layoutDirection="horiz" >
<Poster id="tvshowPoster"
translation="[150,150]"
width="400" height="600" />
<LayoutGroup layoutDirection="vert" translation="[355, 150]" itemSpacings="[0, 10]">
<Label id="title" />
<LayoutGroup layoutDirection="horiz" itemSpacings="[10, 0]">
<Label id="releaseYear" />
<Label id="officialRating" />
<Label id="communityRating" />
</LayoutGroup>
<Label id="genres" />
<ButtonGroup id="buttons" layoutDirection="horiz" itemSpacings="[10, 0]">
<Button text="Play" />
<Button text="Shuffle" />
<Button text="Watched" />
<Button text="Favorite" />
</ButtonGroup>
<Label id="tagline" />
<Label id="overview" />
<Label id="history" />
</LayoutGroup>
</LayoutGroup>
<!-- Next Up -->
<TVSeasonRow id="TVSeasonSelect" visible="true" translation="[150, 800]" />
</children>
<interface>
<field id="itemContent" type="node" onChange="itemContentChanged" />
</interface>
<script type="text/brightscript" uri="pkg:/components/TVShowItemDetails.brs" />
<script type="text/brightscript">
<![CDATA[
sub init()
main = m.top.findNode("main_group")
dimensions = m.top.getScene().currentDesignResolution
main.translation=[50, 50]
m.top.findNode("buttons").setFocus(true)
end sub
]]>
</script>
</component>