mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-13 09:20:50 +08:00
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 #20593 * Fixes #20100 Same PR as #22080 but accorded to changes on master Pull Request resolved: https://github.com/facebook/react-native/pull/22082 Differential Revision: D14162740 Pulled By: cpojer fbshipit-source-id: 9a13a185d4e8307ce67014fb076c62d135c487c3