Accessibility traversal order ignored
I have created a custom navigation line menu on Android TV that consists of a LinearLayoutCompat with AppCompatButtons that each represents an entry in the menu.
The menu is built dynamically, in the code at runtime by inflating the AppCompatButtons and then manually insert them into the parent via addView(...).
Then I set the right order for Talkback in the code:
// after adding the views to the parent
menuItemsViews.forEachIndexed { index, menuItemView ->
if (index <...