jeswin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2017
04:46 AM
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
RowlistitemXML
Note: I didn't mention anything in brs except feeding the content.
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.
3 REPLIES 3
Adhiraj279
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2017
02:51 AM
Re: Rowlist - showRowCounter is not working
just remove the brackets from "[true]"
jeswin
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2017
07:58 PM
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.
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.
Adhiraj279
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2017
08:59 PM
Re: Rowlist - showRowCounter is not working
great!!! 😄