Files
playlet-piped/src/components/RowListItemComponent/RowListItemComponent.xml
T
2022-11-05 17:39:26 -04:00

66 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<component name="RowListItemComponent" extends="Group" xsi:noNamespaceSchemaLocation="https://devtools.web.roku.com/schema/RokuSceneGraph.xsd">
<interface>
<field id="itemContent" type="node" onChange="OnContentSet" />
</interface>
<script type="text/brightscript" uri="RowListItemComponent.brs" />
<children>
<Poster
id="poster"
loadDisplayMode="scaleToFit"
width="320"
height="180"
loadWidth="320"
loadHeight="180"
/>
<Rectangle
id="durationRect"
width="60"
height="25"
color="0x000000"
opacity="0.8"
translation="[260, 145]"
>
<Label
width="60"
height="25"
id="durationLabel"
horizAlign="center"
vertAlign="center"
font="font:SmallestSystemFont"
inheritParentOpacity="true"
/>
</Rectangle>
<Label
id="titleLabel"
width="320"
height="25"
font="font:SmallestSystemFont"
translation="[0, 200]"
/>
<Label
id="authorLabel"
width="320"
height="25"
font="font:SmallestBoldSystemFont"
translation="[0, 225]"
/>
<Label
id="dateLabel"
width="320"
height="25"
horizAlign="right"
font="font:SmallestSystemFont"
translation="[0, 250]"
/>
<Label
id="viewCountLabel"
width="320"
height="25"
font="font:SmallestSystemFont"
translation="[0, 250]"
/>
</children>
</component>