opnchaudhary
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2013
05:54 AM
focus first row's first item in gridscreen flat-landscape
hello there,
I am developing a Roku Channel application and while using grid scren with a flat-landscape the focus item is always the center item. But I want the focus to be in the first row, first item is there any way I can achieve that. I have tried SetFocusedListItem() and SetListOffset() with various values but ended with no luck. Any insight on this would be very thankful. However I can get the focus to the first item if I use flat-portrait layout for grid screeen, but I really need to use flat-landscape.
Thanks in advance
I am developing a Roku Channel application and while using grid scren with a flat-landscape the focus item is always the center item. But I want the focus to be in the first row, first item is there any way I can achieve that. I have tried SetFocusedListItem() and SetListOffset() with various values but ended with no luck. Any insight on this would be very thankful. However I can get the focus to the first item if I use flat-portrait layout for grid screeen, but I really need to use flat-landscape.
Thanks in advance
Regards
Paras Nath Chaudhary
Paras Nath Chaudhary
3 REPLIES 3


Roku Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2013
08:26 AM
Re: focus first row's first item in gridscreen flat-landsca
flat-landscape is a center-focus style. You can't change that. You'd have to use four-column-flat-landscape or one of the other left-focus styles.
http://sdkdocs.roku.com/display/sdkdoc/ ... tringstyle
http://sdkdocs.roku.com/display/sdkdoc/ ... tringstyle

RokuJoel
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2013
12:37 PM
Re: focus first row's first item in gridscreen flat-landsca
The mixed aspect ratio grid style might work for what you are doing.
- Joel
- Joel
opnchaudhary
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2014
12:46 AM
Re: focus first row's first item in gridscreen flat-landsca
Thanks mixed-aspect-ratio was the option to use.
Regards
Paras Nath Chaudhary
Paras Nath Chaudhary