I have been trying to create a layout for a larger tablet. I have an app originally created for a 7” tablet at 800x480 and a density of 1. The landscape and portrait layouts, created in the designer, work very well with no need to use the scripting feature. This is not a complex layout, consisting of only one panel, two labels, three buttons and a scrollview.
I then used the designer to create layouts for a larger tablet, at 1028x800 and a density of 1. This did not work well. Landscape was close, but portrait was very poor in the positioning of elements. I then duplicated the location specs of the various elements into script, with the thought that I could fine-tune the layout with changes to that script. That did not work at all. I cannot make changes to the layout using script. Changes do not register, no matter how outrageous a change I might make.
I have included (android:xlargeScreens="true") in the manifest. I’m using Android 3.2 as the virtual device. I do not have an actual device for testing, and wonder if this might be a problem inherent to the virtual device.
Has anyone else experienced a similar problem, in working with layouts for larger screens? Is there a means of creating layouts for larger screens without this positioning problem?
I then used the designer to create layouts for a larger tablet, at 1028x800 and a density of 1. This did not work well. Landscape was close, but portrait was very poor in the positioning of elements. I then duplicated the location specs of the various elements into script, with the thought that I could fine-tune the layout with changes to that script. That did not work at all. I cannot make changes to the layout using script. Changes do not register, no matter how outrageous a change I might make.
I have included (android:xlargeScreens="true") in the manifest. I’m using Android 3.2 as the virtual device. I do not have an actual device for testing, and wonder if this might be a problem inherent to the virtual device.
Has anyone else experienced a similar problem, in working with layouts for larger screens? Is there a means of creating layouts for larger screens without this positioning problem?