Fix WXGA800-7in to be portrait by default.
Bug: 6712001
Change-Id: I047e023e726f83ff63f8fe00fb3f43698ad1db37
diff --git a/tools/emulator/skins/WXGA800-7in/layout b/tools/emulator/skins/WXGA800-7in/layout
index 0aaeb1e..c0050e9 100755
--- a/tools/emulator/skins/WXGA800-7in/layout
+++ b/tools/emulator/skins/WXGA800-7in/layout
@@ -12,8 +12,8 @@
device {
display {
- width 1280
- height 800
+ width 800
+ height 1280
x 0
y 0
}
@@ -23,11 +23,40 @@
layouts {
+ portrait {
+ width 853
+ 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 855
color 0xe0e0e0
- event EV_SW:0:1
+
+ event EV_SW:0:0
+
+ dpad-rotation 3
part1 {
name portrait
@@ -44,38 +73,10 @@
part3 {
name device
x 26
- y 29
- }
- }
-
- portrait {
- width 853
- 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 829
rotation 3
}
}
-
}
keyboard {