From 144589bfd0a7c802c610ddeb2cc24a0dc28f8f3b Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Thu, 15 Dec 2011 14:28:46 -0800 Subject: [PATCH] Fix WXGA720 skin to be portrait by default. Having it landscape by default is not representative of a phone and triggers an issue where the system ui bar is not displayed. Change-Id: Ic28e3739c30825fe55f8cc6cede5c9a5462f6931 --- tools/emulator/skins/WXGA720/layout | 62 ++++++++++++++--------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/tools/emulator/skins/WXGA720/layout b/tools/emulator/skins/WXGA720/layout index 8332bdc70..47cddd606 100755 --- a/tools/emulator/skins/WXGA720/layout +++ b/tools/emulator/skins/WXGA720/layout @@ -12,8 +12,8 @@ parts { device { display { - width 1280 - height 720 + width 720 + height 1280 x 0 y 0 } @@ -23,11 +23,38 @@ parts { layouts { + portrait { + width 773 + height 1334 + color 0xe0e0e0 + event EV_SW:0:1 + + part1 { + name portrait + x 0 + y 0 + } + + part2 { + name landscape + x 1400 + y 0 + } + + part3 { + name device + x 27 + y 27 + } + } + landscape { width 1333 height 775 color 0xe0e0e0 - event EV_SW:0:1 + event EV_SW:0:0 + + dpad-rotation 3 part1 { name portrait @@ -44,34 +71,7 @@ layouts { part3 { name device x 26 - y 29 - } - } - - portrait { - width 773 - height 1334 - color 0xe0e0e0 - event EV_SW:0:0 - - dpad-rotation 3 - - part1 { - name portrait - x 0 - y 0 - } - - part2 { - name landscape - x 1400 - y 0 - } - - part3 { - name device - x 27 - y 1307 + y 749 rotation 3 } }