aboutsummaryrefslogtreecommitdiff
path: root/emulator/skins/dynamic/layout
diff options
context:
space:
mode:
Diffstat (limited to 'emulator/skins/dynamic/layout')
-rw-r--r--emulator/skins/dynamic/layout138
1 files changed, 138 insertions, 0 deletions
diff --git a/emulator/skins/dynamic/layout b/emulator/skins/dynamic/layout
new file mode 100644
index 000000000..5fa7d975f
--- /dev/null
+++ b/emulator/skins/dynamic/layout
@@ -0,0 +1,138 @@
+# This layout file only defines all the parts. The layouts section
+# that is missing is filled in at runtime by the skin parser.
+# Many of the parts in this layout have both _on and _off versions
+# which correspond to the part to be used if that control is actually
+# available in the AVD.
+parts {
+ device {
+ display {
+ width 320
+ height 480
+ x 0
+ y 0
+ }
+ }
+
+ dpad_on {
+ background {
+ image dpad_on.png
+ width 110
+ height 88
+ }
+ buttons {
+ dpad-up {
+ image arrow_up.png
+ x 24
+ y 8
+ }
+ dpad-down {
+ image arrow_down.png
+ x 24
+ y 60
+ }
+ dpad-left {
+ image arrow_left.png
+ x 0
+ y 8
+ }
+ dpad-right {
+ image arrow_right.png
+ x 70
+ y 8
+ }
+ dpad-center {
+ image select.png
+ x 24
+ y 36
+ }
+ }
+ }
+
+ dpad_off {
+ background {
+ image dpad_off.png
+ width 111
+ height 91
+ }
+ }
+
+ hwkeys_on {
+ background {
+ image hwkeys_on.png
+ width 212
+ height 58
+ }
+ buttons {
+ home {
+ image button.png
+ x 0
+ y 12
+ }
+ soft-left {
+ image button.png
+ x 56
+ y 12
+ }
+ back {
+ image button.png
+ x 112
+ y 12
+ }
+ search {
+ image button.png
+ x 166
+ y 12
+ }
+ }
+ }
+
+ hwkeys_off {
+ background {
+ image hwkeys_off.png
+ width 212
+ height 58
+ }
+ }
+
+ keyboard_on {
+ background {
+ image keyboard_on.png
+ width 195
+ height 21
+ }
+ }
+
+ keyboard_off {
+ background {
+ image keyboard_off.png
+ width 174
+ height 21
+ }
+ }
+
+ basic_controls {
+ background {
+ image basic.png
+ width 159
+ height 55
+ }
+
+ buttons {
+ volume-down {
+ image button.png
+ x 1
+ y 9
+ }
+ volume-up {
+ image button.png
+ x 57
+ y 9
+ }
+ power {
+ image button.png
+ x 113
+ y 9
+ }
+ }
+ }
+}