-
Notifications
You must be signed in to change notification settings - Fork 24k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ANDROID TV] Add setNextFocus support #22082
Conversation
|
AWESOME!!!太棒了,希望能早点用上,等不及了6666666666 |
@gregaou do you mind rebasing your PR so we can merge it? Thank you! |
@gregaou do you mind rebasing your PR so they can merge it? Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Grégoire Rit merged commit c416b40 into |
Summary: Add properties to be able to set the nextFocus. It can be very useful with Android TV. New android View properties : * nextFocusDown binded to [setNextFocusDownId](https://developer.android.com/reference/android/view/View.html#setNextFocusDownId(int)) * nextFocusForward binded to [setNextFocusForwardId](https://developer.android.com/reference/android/view/View.html#setNextFocusForwardId(int)) * nextFocusLeft binded to [setNextFocusLeftId](https://developer.android.com/reference/android/view/View.html#setNextFocusLeftId(int)) * nextFocusRight binded to [setNextFocusRightId](https://developer.android.com/reference/android/view/View.html#setNextFocusRightId(int)) * nextFocusUp binded to [setNextFocusUpId](https://developer.android.com/reference/android/view/View.html#setNextFocusUpId(int)) Can be used to fix : * Fixes facebook#20593 * Fixes facebook#20100 Same PR as facebook#22080 but accorded to changes on master Pull Request resolved: facebook#22082 Differential Revision: D14162740 Pulled By: cpojer fbshipit-source-id: 9a13a185d4e8307ce67014fb076c62d135c487c3
Add properties to be able to set the nextFocus. It can be very useful with Android TV.
New android View properties :
Can be used to fix :
Same PR as #22080 but accorded to changes on master
Test Plan:
I fixed this issue #20100 by doing this
Release Notes:
[ANDROID] [FEATURE] [View] - Add properties to set next Focus