I am new to TV layout design. According to the link, the television application uses the system Leanbackfor the entire system and provides some widgets and class specially designed for television. But it Leanbackhas very limited capabilities.
I want to create a layout with TabLayoutthat provides AppCompact. For this, activity should use AppCompact theme, but in the Fragment I use BrowserFragmentto provide Leanback. Therefore, when I add AppCompactto the action, the fragment fails with a layout parameter problem.
Binary XML file line
Can't use both themes in a television application?
source
share