I'm new in TV layout design. According to reference, TV application use Leanback
theme system wide and provide some widget and class specially developed for TV. But Leanback
has very limited features.
I want to create a layout with TabLayout
which provide by AppCompact
. For that the activity must use AppCompact theme
but in Fragment I am using BrowserFragment
provide by Leanback
. So when I add AppCompact
in activity, fragment crash with layout parameter issue.
Binary XML file line #21: Binary XML file line #21: You must supply a layout_width attribute.
Is it not possible to use both theme in TV application?