Skip to content

Android TV: No support for getting the focused widget's coordinate #13749

@coderJohnZhang

Description

@coderJohnZhang

As we know, tv apps use remote control's direction key to move focus from one widget to another. User needs to know which widget has got the current focus, so we may provider a focus animation effect, just draw a light widget floating on the focus widget. This light focus indicator widget will move from the previous focus widget to the current focus widget, we need calculate the move offset by the focused widget's coordinate minus the previous focus widget's coordinate. But I can't find any interface to get the widget's coordinate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specifically

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions