aboutsummaryrefslogtreecommitdiff
path: root/emulator/skins/dynamic/layout
blob: 5fa7d975ff25dd6fb528db91e7cf6f15e6135eed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
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
            }
        }
    }
}