Reputation: 5469
I want to customize the FullWidthDetailsOverviewRowPresenter
in the Leanback DetailFragment
.
Three things I want to accomplish are:
Action
s from top to below of the overview.The end result should be like this:
I already know how to modify inside the overview. How should I modify outside of it?
Upvotes: 3
Views: 2076
Reputation: 784
Upvotes: 1
Reputation: 6863
Because you are moving around the key views of this screen, it sounds like you might have to ditch the current implementation altogether and create your own custom view from scratch. By moving the buttons to the bottom and the detail image (seems like you're moving it to the right side of the description text), you're making it less and less justifiable to even subclass DetailFragment. The developers of Leanback were probably intentional about limiting customizing the interfaces too much as they want a consistent experience for different apps.
I would create a new layout file and load it up on your subclass of DetailsFragment (or DetailsPresenter), depending on your architecture.
You might find inspiration in this tuenti tv sample and part two of Marcus Gabilheri's customization series
Upvotes: 1