aboutsummaryrefslogtreecommitdiff
path: root/emulator/skins/dynamic/layout
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2020-05-06 14:17:12 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2020-05-06 14:17:12 +0000
commitfc7cda06f54946e3a03ea008c1ba086d90aeef84 (patch)
treefd845444b59dfc72656b7781596e0b1a0662c4c7 /emulator/skins/dynamic/layout
parent1aa104fb55f1b87494e4e2bc38e23416f486adfd (diff)
parent512ba8f80c0a2422f9e58a1401cb142db190a56c (diff)
downloadsdk-fc7cda06f54946e3a03ea008c1ba086d90aeef84.tar.gz
Merge "Revert "Remove unused project.""
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
+ }
+ }
+ }
+}