I have a problem with seemingly inexplicable fields that appear to the left and right of my layouts when using the Nexus 10 in landscape mode. I'm sure this is awkwardly straightforward, but I can't find any mention of this in the search.
I'm sure this is not related to my code, because the default Hello World project created by Eclipse demonstrates this phenomenon. The following screenshots are taken from a completely new project, and the only change I made was to make the TextView textSize a little bigger for clarity:

You can see that the default fields from the XML layout file (shown below) are applied correctly in portrait mode, but in landscape mode there is a significant additional margin indicated by a red bar under the screenshot.
<dimen name="activity_horizontal_margin">16dp</dimen> <dimen name="activity_vertical_margin">16dp</dimen>
Has anyone else seen this or had no idea how I can get rid of them? I donβt know where to start, because it looks like a specific device and screen orientation. Plus, this affects the simplest program, as well as my own, so it makes no sense to separate my own code until I find out how to fix the default case.
The same screens are displayed correctly on emulated devices and my Samsung Galaxy S2 (Gingerbread works). Changing the project build goal from the API level from 17 to 10 also did not affect the undesirable effect. Any thoughts?
source share