1# This layout file only defines all the parts. The layouts section
2# that is missing is filled in at runtime by the skin parser.
3# Many of the parts in this layout have both _on and _off versions
4# which correspond to the part to be used if that control is actually
5# available in the AVD.
6parts {
7    device {
8        display {
9            width   320
10            height  480
11            x       0
12            y       0
13        }
14    }
15
16    dpad_on {
17        background {
18            image   dpad_on.png
19            width   110
20            height  88
21        }
22        buttons {
23            dpad-up {
24                    image arrow_up.png
25                    x 24
26                    y 8
27            }
28            dpad-down {
29                    image arrow_down.png
30                    x 24
31                    y 60
32            }
33            dpad-left {
34                    image arrow_left.png
35                    x 0
36                    y 8
37            }
38            dpad-right {
39                    image arrow_right.png
40                    x 70
41                    y 8
42            }
43            dpad-center {
44                    image select.png
45                    x 24
46                    y 36
47            }
48        }
49    }
50
51    dpad_off {
52        background {
53            image   dpad_off.png
54            width   111
55            height  91
56        }
57    }
58
59    hwkeys_on {
60        background {
61            image   hwkeys_on.png
62            width   212
63            height  58
64        }
65        buttons {
66            home {
67                    image button.png
68                    x 0
69                    y 12
70            }
71            soft-left {
72                    image button.png
73                    x 56
74                    y 12
75            }
76            back {
77                    image button.png
78                    x 112
79                    y 12
80            }
81            search {
82                    image button.png
83                    x 166
84                    y 12
85            }
86        }
87    }
88
89    hwkeys_off {
90        background {
91            image   hwkeys_off.png
92            width   212
93            height  58
94        }
95    }
96
97    keyboard_on {
98        background {
99            image   keyboard_on.png
100            width   195
101            height  21
102        }
103    }
104
105    keyboard_off {
106        background {
107            image   keyboard_off.png
108            width   174
109            height  21
110        }
111    }
112
113    basic_controls {
114        background {
115            image   basic.png
116            width   159
117            height  55
118        }
119
120        buttons {
121            volume-down {
122                    image button.png
123                    x 1
124                    y 9
125            }
126            volume-up {
127                    image button.png
128                    x 57
129                    y 9
130            }
131            power {
132                    image button.png
133                    x 113
134                    y 9
135            }
136        }
137    }
138}
139