Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Customising components

Hey i am new at roku development. I need help in developing sliding control in a small part of screen.Please check selected part of below image.I was thinking of using sliding panel if someone have a better idea or any example ? ... V80ckpEeEE
0 Kudos
Level 10

Re: Customising components

You could use onKeyEvent to change the label:

function onKeyEvent(key as String, press as Boolean) as Boolean
  handled = false  
  if press then
    if (key = "right") then
   ' here goes your code 
        handled = true
    else if (key = "left") then
   ' here goes your code 
        handled = true
    end if
  end if
  return handled
end function
0 Kudos