I have written a game for the android platform. The game is currently in beta stage at the store. To see how it looks on a device you can downloaded it from here: Brainy: Play to learn!
Now I'm trying to port this game to Android TV platform, but for some reason when the game is run on the TV it's not uses the whole screen space, it runs in a square in the middle of the screen. It looks like that in the better case:
And like that in the worst case:
Now for all activities in my applcation I use the
Finally I managed to solved this issue, the problem was the theme I used for the activities. I was using
Theme.AppCompat.Light.NoActionBar.FullScreen as the base theme for all my activities.
Turns out that using the FullScreen theme on the TV will actually show the application in a square like in the screenshots above and not in full screen.
Changing this base theme to
Theme.AppCompat.Light.NoActionBar solved the issue.
Now the application is displayed on full screen.