Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
jeswin
Level 7

Rowlist - showRowCounter is not working

Hi,

I am developing an app,
I am using Rowlist and binded all the items correctly
My problems are

1. I have given showRowCounter = "[true]" but its not showing the row counter at the top
2. I have 2 sections, in one section i have only 2 items so it displays correctly inside the focus bitmap image, but the next section nearly contatins 35 items, the focusbitmap image is little pushed right of the items.
3. Label at the bottom of each item is hiding half, if i increase rowitemsize i can able to see the text below each items but the focusbitmap image is covering the text area also.
Kindly help me,

Please refer the blow codes i have used:

Rowlist.xml
<RowList
      id = "RowList"
      itemComponentName = "RowListItem"
      numRows = "5"
      itemSize = "[ 1608, 275 ]"
      rowItemSize = "[ [294, 178] ]"
      rowItemSpacing="[[10, 0] ]"
      itemSpacing = "[0, 0 ]"
      showRowLabel = "[ true ]"
      showRowCounter="[ true ]"
      drawFocusFeedback = "true"
      drawFocusFeedbackOnTop="true"
      focusBitmapUri="pkg:/images/focus_ring_hd_290.png"
      rowLabelColor="0xffffffff"
      vertFocusAnimationStyle = "fixedFocus"
      rowFocusAnimationStyle = "fixedFocusWrap" />


RowlistitemXML
<Poster 
      id = "itemPoster" 
      translation = "[ -5, 15 ]" 
      width = "266" 
      height = "150" 
      loadDisplayMode="scaleToZoom"
      scaleRotateCenter = "[0, 0 ]" >

      <Rectangle 
        id = "itemMask" 
        translation = "[ -5, 15 ]" 
        width = "266" 
        height = "150" 
        scaleRotateCenter = "[ 0,0 ]" 
        color = "000" 
        opacity = "1" />

    </Poster>

    <Label 
      id = "itemLabel" 
      translation = "[ 0, 170 ]"
      width = "266"
      horizAlign = "left" 
      opacity = "1" />



Note: I didn't mention anything in brs except feeding the content.
0 Kudos
3 Replies
Adhiraj279
Level 7

Re: Rowlist - showRowCounter is not working

just remove the brackets from "[true]"
0 Kudos
jeswin
Level 7

Re: Rowlist - showRowCounter is not working

thanks for your reply.. 

The code which i have wrote is correct and working. The thing is i have given the item size as [1608,275] so the show row counter label went off the screen While i reduce the size i mean the width of the item size i can able to see it.
0 Kudos
Adhiraj279
Level 7

Re: Rowlist - showRowCounter is not working

great!!! Smiley Very Happy
0 Kudos