Focus goes out of view

Focus goes out of view

I finally have installed a Android-TV-box and (ofcourse) had to install LLX on it. It works lika a charm. And navigation with standard IR-remote work perfectly with the ‘focus-styling’.

But I would expect comming to the last row on my screen and pushing the ‘down’-button on my IR-remote, that the next row would come into view on my screen…

It does not. –> Focus goes out of view.

I think I could make a script to make it work. But I think this should be working without a script.

PS. Yes, Droidmote works better/easier than IR-remote. But has the same issue.

]]>

12 Commentsto Focus goes out of view

  1. Anonymous says:

    < ![CDATA[

    Completely unrelated, but which Android-TV-box did you get? Nexus Player? I keep telling myself I don’t need to buy it but I still have it added to my cart and it just calls my name daily to buy it.

    ]]>

  2. Anonymous says:

    < ![CDATA[

    If I recall correctly this has been disabled in the past because on some old devices there were weird focus change at startup. I’ll see if I can fix the thing.

    ]]>

  3. Anonymous says:

    < ![CDATA[

    I do not know if your focus is on ‘focus’ but I found that setting an item not ‘clickable’ still makes it able to get ‘focus’. (even ‘clickable’).


    Could you make a non-clickable item non-focusable?

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Pierre Hébert I see ‘focus’ on your online todo-list. super!


    Am I pushing? when I also ask for an ‘GotFocus’, ‘LostFocus’ events and ‘SetFocus’ action? 😉 Prio can be lower as the 2 point mentioned above. 😉

    ]]>

  5. Anonymous says:

    < ![CDATA[

    Yes, I finally took the time to update the list! Now I will begin process it’s content…



    Focus management is a new line 😉

    ]]>

  6. Anonymous says:

    < ![CDATA[

    focus does not go out of view with v1.6…. but does not obey ‘no scrolling’, sry

    ]]>

  7. Anonymous says:

    < ![CDATA[

    Lol, no scrolling affects touch based interactions, but not every other moves such as bookmarks and scripts. Focus change is only initiated by some user input, so yes maybe it can be limited by the no scrolling option.

    ]]>

  8. Anonymous says:

    < ![CDATA[

    I couldn’t find any scipting method for focusing an item. Am I missing? I think current LL doesnt provide any ways about set/get focus by script.

    ]]>

  9. Anonymous says:

    < ![CDATA[

    Indeed, because this is the “normal” android focus. As a consequence item.getRootView().requestFocus() should work()


    or maybe:


    item.getRootView().getChildAt(0).requestFocus()



    I don’t recall exactly but I think there has been another post on the topic recently.

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Pierre Hébert I’m fiddling with my car tablet’s desktop, in which I’d like to navigate items/folders using BT remote controller. If I open an folder using dpad keys, focus is not in first child of that folder. So I tried your answer.



    01 – var item = folder.getItems().getAt(0);


    02 – var view = item.getRootView();


    03 – view.setFocusableInTouchMode(true);


    04 – view.requestFocus();



    With no line-03, no focus happened.



    Thank you~ 🙂

    ]]>

  11. Anonymous says:

    < ![CDATA[

    Does it work with getRootView().getChildAt(0) ?

    ]]>

  12. Anonymous says:

    < ![CDATA[

    Pierre Hébert Yes, both cases all worked with no difference.


    I tried to add subfolder in a folder, as a first child. getRootView() and getRootView().getChildAt(0) all worked like normal items like a shortcut.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *