I already did a mock for the 2 first main activities, was OK.
Will give my source when a lot will work, to test on emulator TV.
About other activities, not yet adapted: Preferences, collapsed sections in History, Detail, are a bit difficult, but I’ll check. Problem in F-Droid is there is a lot of activities, custom layouts, difficult to quickly know where we are in the screen. Too much similar lists…
Flavor is a possibility but I’ll try to create only one apk, as my app.
Currently, the android box does not recognize my app as a TV app but I have a solution; will try this evening.
Another issue we will have is that normally all texts should be bigger on a TV, more than 14dp…
In my app I managed it by changing the style and the font size in App Preferences, it’s OK.
If you have time, please find a “better” solution for that.
I don’t have a lot of layouts or cutom objects.
We could use “sp” metrics for texts and “dp” for layout sizes… so all is compatible and adapted automatically with the screen resolutions on different devices. “sp” is a “weight” in other tools.
Prepare on your side, a script to find all TV compatible apps, to show only in the interface of F-Droid TV. Normally there is a Leanback category as launcher. We also have to reduce the search list to only tv apps.
Applications not adapted for the TV will not work because there is no visible focus, so it’s impossible to use because there is no visible effects (except for buttons, list scrolled), edittext.