diff options
author | Siva Velusamy <vsiva@google.com> | 2012-10-08 09:36:50 -0700 |
---|---|---|
committer | Siva Velusamy <vsiva@google.com> | 2012-10-08 11:09:20 -0700 |
commit | 097ffd9e09ced21353124c8a4988233c3119bbf1 (patch) | |
tree | b1022abb2336fa17adb5a601d66e25feb4031510 /emulator/skins | |
parent | 1fca455a13e2dc7c20904a7e9a89911c7e9a887b (diff) | |
download | sdk-097ffd9e09ced21353124c8a4988233c3119bbf1.zip sdk-097ffd9e09ced21353124c8a4988233c3119bbf1.tar.gz sdk-097ffd9e09ced21353124c8a4988233c3119bbf1.tar.bz2 |
Add a new skin 'dynamic'.
This skin only defines the parts that can be used. Its
layout section is expected to be generated at runtime
by the emulator when the option -dynamic-skin is used.
The assets used to generate this skin are placed in the
assets folder.
Change-Id: Ib252ed6a7b1ef16c21c3d45bdc0c977c1ad42466
Diffstat (limited to 'emulator/skins')
25 files changed, 914 insertions, 0 deletions
diff --git a/emulator/skins/assets/README.txt b/emulator/skins/assets/README.txt new file mode 100644 index 0000000..9311f6c --- /dev/null +++ b/emulator/skins/assets/README.txt @@ -0,0 +1,3 @@ +The svg files in these folder were used to generate the corresponding +png images in the 'dynamic' skin folder. Edit these in Inkscape or some +other SVG editor and just export as png to update the assets. diff --git a/emulator/skins/assets/basic_controls.png b/emulator/skins/assets/basic_controls.png Binary files differnew file mode 100644 index 0000000..69fccc0 --- /dev/null +++ b/emulator/skins/assets/basic_controls.png diff --git a/emulator/skins/assets/basic_controls.svg b/emulator/skins/assets/basic_controls.svg new file mode 100644 index 0000000..ca1d912 --- /dev/null +++ b/emulator/skins/assets/basic_controls.svg @@ -0,0 +1,125 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="159" + height="54.617188" + id="svg2" + version="1.1" + inkscape:version="0.47 r22583" + sodipodi:docname="basic_controls.svg" + inkscape:export-filename="basic.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"> + <defs + id="defs4"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 526.18109 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="744.09448 : 526.18109 : 1" + inkscape:persp3d-origin="372.04724 : 350.78739 : 1" + id="perspective10" /> + <inkscape:perspective + id="perspective2904" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + <inkscape:perspective + id="perspective2886" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + <inkscape:perspective + id="perspective2898" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + <inkscape:perspective + id="perspective2887" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="4.4724839" + inkscape:cx="138.91446" + inkscape:cy="13.828558" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="true" + inkscape:window-width="1438" + inkscape:window-height="774" + inkscape:window-x="84" + inkscape:window-y="123" + inkscape:window-maximized="0"> + <inkscape:grid + type="xygrid" + id="grid2816" + empspacing="5" + visible="true" + enabled="true" + snapvisiblegridlinesonly="true" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(-25.654297,-779.745)"> + <text + xml:space="preserve" + style="font-size:14px;font-style:normal;font-weight:normal;line-height:125%;fill:#bbbbbb;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans" + x="25" + y="787.36218" + id="text2910" + sodipodi:linespacing="125%" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"><tspan + sodipodi:role="line" + id="tspan2912" + x="25" + y="787.36218" + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#bbbbbb;fill-opacity:1;font-family:Roboto;-inkscape-font-specification:Roboto Medium">Basic Controls </tspan></text> + <image + y="792.36218" + x="30.654297" + id="image2889" + height="42" + width="154" + xlink:href="basic_controls.png" /> + </g> +</svg> diff --git a/emulator/skins/assets/dpad.png b/emulator/skins/assets/dpad.png Binary files differnew file mode 100644 index 0000000..db4dd60 --- /dev/null +++ b/emulator/skins/assets/dpad.png diff --git a/emulator/skins/assets/dpad_off.svg b/emulator/skins/assets/dpad_off.svg new file mode 100644 index 0000000..3eea70e --- /dev/null +++ b/emulator/skins/assets/dpad_off.svg @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="111.48926" + height="90.617188" + id="svg2" + version="1.1" + inkscape:version="0.47 r22583" + sodipodi:docname="dpad_off.svg" + inkscape:export-filename="dpad_off.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"> + <defs + id="defs4"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 526.18109 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="744.09448 : 526.18109 : 1" + inkscape:persp3d-origin="372.04724 : 350.78739 : 1" + id="perspective10" /> + <inkscape:perspective + id="perspective2904" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="4.4724839" + inkscape:cx="138.91446" + inkscape:cy="38.761468" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="true" + inkscape:window-width="1570" + inkscape:window-height="1089" + inkscape:window-x="436" + inkscape:window-y="347" + inkscape:window-maximized="0"> + <inkscape:grid + type="xygrid" + id="grid2816" + empspacing="5" + visible="true" + enabled="true" + snapvisiblegridlinesonly="true" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(-25.654297,-779.745)"> + <image + sodipodi:absref="dpad.png" + xlink:href="dpad.png" + inkscape:export-ydpi="90" + inkscape:export-xdpi="90" + width="109" + height="77" + id="image2906" + x="27" + y="793.36218" /> + <text + xml:space="preserve" + style="font-size:14px;font-style:normal;font-weight:normal;line-height:112.99999952%;fill:#bbbbbb;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans" + x="25" + y="787.36218" + id="text2910" + sodipodi:linespacing="113%" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"><tspan + sodipodi:role="line" + id="tspan2912" + x="25" + y="787.36218" + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:112.99999952%;writing-mode:lr-tb;text-anchor:start;fill:#bbbbbb;fill-opacity:1;font-family:Roboto;-inkscape-font-specification:Roboto Medium">DPAD <tspan + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:112.99999952%;writing-mode:lr-tb;text-anchor:start;fill:#999999;fill-opacity:1;font-family:Roboto;-inkscape-font-specification:Roboto Medium" + id="tspan3589">not enabled in AVD</tspan></tspan></text> + </g> +</svg> diff --git a/emulator/skins/assets/dpad_on.svg b/emulator/skins/assets/dpad_on.svg new file mode 100644 index 0000000..7a8f99a --- /dev/null +++ b/emulator/skins/assets/dpad_on.svg @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="110" + height="88.109375" + id="svg2" + version="1.1" + inkscape:version="0.47 r22583" + sodipodi:docname="dpad_on.svg" + inkscape:export-filename="dpad_on.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"> + <defs + id="defs4"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 526.18109 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="744.09448 : 526.18109 : 1" + inkscape:persp3d-origin="372.04724 : 350.78739 : 1" + id="perspective10" /> + <inkscape:perspective + id="perspective2904" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="6.3250474" + inkscape:cx="96.012951" + inkscape:cy="42.761466" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="true" + inkscape:window-width="1570" + inkscape:window-height="1089" + inkscape:window-x="436" + inkscape:window-y="347" + inkscape:window-maximized="0"> + <inkscape:grid + type="xygrid" + id="grid2816" + empspacing="5" + visible="true" + enabled="true" + snapvisiblegridlinesonly="true" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(-25.654297,-786.25281)"> + <image + sodipodi:absref="dpad.png" + xlink:href="dpad.png" + inkscape:export-ydpi="90" + inkscape:export-xdpi="90" + width="109" + height="77" + id="image2906" + x="26.654297" + y="797.36218" /> + <text + xml:space="preserve" + style="font-size:14px;font-style:normal;font-weight:normal;line-height:125%;fill:#bbbbbb;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans" + x="25" + y="793.36218" + id="text2910" + sodipodi:linespacing="125%" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"><tspan + sodipodi:role="line" + id="tspan2912" + x="25" + y="793.36218" + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#bbbbbb;fill-opacity:1;font-family:Roboto;-inkscape-font-specification:Roboto Medium">DPAD</tspan></text> + </g> +</svg> diff --git a/emulator/skins/assets/hwkeys.png b/emulator/skins/assets/hwkeys.png Binary files differnew file mode 100644 index 0000000..3a468f1 --- /dev/null +++ b/emulator/skins/assets/hwkeys.png diff --git a/emulator/skins/assets/hwkeys_off.svg b/emulator/skins/assets/hwkeys_off.svg new file mode 100644 index 0000000..f14ac10 --- /dev/null +++ b/emulator/skins/assets/hwkeys_off.svg @@ -0,0 +1,114 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="211.91211" + height="57.617188" + id="svg2" + version="1.1" + inkscape:version="0.47 r22583" + sodipodi:docname="hwkeys_off.svg" + inkscape:export-filename="hwkeys_off.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"> + <defs + id="defs4"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 526.18109 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="744.09448 : 526.18109 : 1" + inkscape:persp3d-origin="372.04724 : 350.78739 : 1" + id="perspective10" /> + <inkscape:perspective + id="perspective2904" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + <inkscape:perspective + id="perspective2886" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="4.4724839" + inkscape:cx="138.91446" + inkscape:cy="16.828573" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="true" + inkscape:window-width="1570" + inkscape:window-height="1089" + inkscape:window-x="468" + inkscape:window-y="267" + inkscape:window-maximized="0"> + <inkscape:grid + type="xygrid" + id="grid2816" + empspacing="5" + visible="true" + enabled="true" + snapvisiblegridlinesonly="true" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(-25.654297,-779.745)"> + <text + xml:space="preserve" + style="font-size:14px;font-style:normal;font-weight:normal;line-height:112.99999952%;fill:#bbbbbb;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans" + x="25" + y="787.36218" + id="text2910" + sodipodi:linespacing="113%" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"><tspan + sodipodi:role="line" + id="tspan2912" + x="25" + y="787.36218" + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:112.99999952%;writing-mode:lr-tb;text-anchor:start;fill:#bbbbbb;fill-opacity:1;font-family:Roboto;-inkscape-font-specification:Roboto Medium">Hardware Buttons <tspan + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:112.99999952%;writing-mode:lr-tb;text-anchor:start;fill:#999999;fill-opacity:1;font-family:Roboto;-inkscape-font-specification:Roboto Medium" + id="tspan3589">not enabled in AVD</tspan></tspan></text> + <image + sodipodi:absref="hwkeys.png" + xlink:href="hwkeys.png" + width="210" + height="42" + id="image2888" + x="27.566406" + y="795.36218" /> + </g> +</svg> diff --git a/emulator/skins/assets/hwkeys_on.svg b/emulator/skins/assets/hwkeys_on.svg new file mode 100644 index 0000000..0ea1eac --- /dev/null +++ b/emulator/skins/assets/hwkeys_on.svg @@ -0,0 +1,112 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="213.91211" + height="57.617188" + id="svg2" + version="1.1" + inkscape:version="0.47 r22583" + sodipodi:docname="hwkeys_on.svg" + inkscape:export-filename="hwkeys_on.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"> + <defs + id="defs4"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 526.18109 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="744.09448 : 526.18109 : 1" + inkscape:persp3d-origin="372.04724 : 350.78739 : 1" + id="perspective10" /> + <inkscape:perspective + id="perspective2904" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + <inkscape:perspective + id="perspective2886" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="4.4724839" + inkscape:cx="138.91446" + inkscape:cy="16.828571" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="true" + inkscape:window-width="1570" + inkscape:window-height="1089" + inkscape:window-x="436" + inkscape:window-y="347" + inkscape:window-maximized="0"> + <inkscape:grid + type="xygrid" + id="grid2816" + empspacing="5" + visible="true" + enabled="true" + snapvisiblegridlinesonly="true" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(-25.654297,-779.745)"> + <text + xml:space="preserve" + style="font-size:14px;font-style:normal;font-weight:normal;line-height:125%;fill:#bbbbbb;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans" + x="25" + y="787.36218" + id="text2910" + sodipodi:linespacing="125%" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"><tspan + sodipodi:role="line" + id="tspan2912" + x="25" + y="787.36218" + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#bbbbbb;fill-opacity:1;font-family:Roboto;-inkscape-font-specification:Roboto Medium">Hardware Buttons</tspan></text> + <image + sodipodi:absref="hwkeys.png" + xlink:href="hwkeys.png" + y="795.36218" + x="29.566406" + id="image2888" + height="42" + width="210" /> + </g> +</svg> diff --git a/emulator/skins/assets/keyboard_off.svg b/emulator/skins/assets/keyboard_off.svg new file mode 100644 index 0000000..ceb2b57 --- /dev/null +++ b/emulator/skins/assets/keyboard_off.svg @@ -0,0 +1,103 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="174.07715" + height="21.050976" + id="svg2" + version="1.1" + inkscape:version="0.47 r22583" + sodipodi:docname="keyboard_off.svg" + inkscape:export-filename="keyboard_off.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"> + <defs + id="defs4"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 526.18109 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="744.09448 : 526.18109 : 1" + inkscape:persp3d-origin="372.04724 : 350.78739 : 1" + id="perspective10" /> + <inkscape:perspective + id="perspective2904" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="4.4724839" + inkscape:cx="138.98282" + inkscape:cy="-30.804743" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="true" + inkscape:window-width="1570" + inkscape:window-height="1089" + inkscape:window-x="436" + inkscape:window-y="347" + inkscape:window-maximized="0"> + <inkscape:grid + type="xygrid" + id="grid2816" + empspacing="5" + visible="true" + enabled="true" + snapvisiblegridlinesonly="true" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(-25.585937,-779.745)"> + <text + xml:space="preserve" + style="font-size:14px;font-style:normal;font-weight:normal;line-height:112.99999952%;fill:#bbbbbb;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans" + x="25" + y="787.36218" + id="text2910" + sodipodi:linespacing="113%" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"><tspan + sodipodi:role="line" + id="tspan2912" + x="25" + y="787.36218" + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:112.99999952%;writing-mode:lr-tb;text-anchor:start;fill:#bbbbbb;fill-opacity:1;font-family:Roboto;-inkscape-font-specification:Roboto Medium">Hardware Keyboard <tspan + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:112.99999952%;writing-mode:lr-tb;text-anchor:start;fill:#999999;fill-opacity:1;font-family:Roboto;-inkscape-font-specification:Roboto Medium" + id="tspan3589">not enabled in AVD</tspan></tspan><tspan + sodipodi:role="line" + x="25" + y="798.66217" + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:112.99999952%;writing-mode:lr-tb;text-anchor:start;fill:#bbbbbb;fill-opacity:1;font-family:Roboto;-inkscape-font-specification:Roboto Medium" + id="tspan2818">Use on screen keyboard</tspan></text> + </g> +</svg> diff --git a/emulator/skins/assets/keyboard_on.svg b/emulator/skins/assets/keyboard_on.svg new file mode 100644 index 0000000..9504f3e --- /dev/null +++ b/emulator/skins/assets/keyboard_on.svg @@ -0,0 +1,103 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="195.49316" + height="21.050976" + id="svg2" + version="1.1" + inkscape:version="0.47 r22583" + sodipodi:docname="keyboard_on.svg" + inkscape:export-filename="keyboard_on.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"> + <defs + id="defs4"> + <inkscape:perspective + sodipodi:type="inkscape:persp3d" + inkscape:vp_x="0 : 526.18109 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_z="744.09448 : 526.18109 : 1" + inkscape:persp3d-origin="372.04724 : 350.78739 : 1" + id="perspective10" /> + <inkscape:perspective + id="perspective2904" + inkscape:persp3d-origin="0.5 : 0.33333333 : 1" + inkscape:vp_z="1 : 0.5 : 1" + inkscape:vp_y="0 : 1000 : 0" + inkscape:vp_x="0 : 0.5 : 1" + sodipodi:type="inkscape:persp3d" /> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="4.4724839" + inkscape:cx="138.98282" + inkscape:cy="-30.804747" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="true" + inkscape:window-width="1570" + inkscape:window-height="1089" + inkscape:window-x="436" + inkscape:window-y="347" + inkscape:window-maximized="0"> + <inkscape:grid + type="xygrid" + id="grid2816" + empspacing="5" + visible="true" + enabled="true" + snapvisiblegridlinesonly="true" /> + </sodipodi:namedview> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(-25.585937,-779.745)"> + <text + xml:space="preserve" + style="font-size:14px;font-style:normal;font-weight:normal;line-height:112.99999952%;fill:#bbbbbb;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans" + x="25" + y="787.36218" + id="text2910" + sodipodi:linespacing="113%" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"><tspan + sodipodi:role="line" + id="tspan2912" + x="25" + y="787.36218" + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:112.99999952%;writing-mode:lr-tb;text-anchor:start;fill:#bbbbbb;fill-opacity:1;font-family:Roboto;-inkscape-font-specification:Roboto Medium">Hardware Keyboard<tspan + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:112.99999952%;writing-mode:lr-tb;text-anchor:start;fill:#999999;fill-opacity:1;font-family:Roboto;-inkscape-font-specification:Roboto Medium" + id="tspan3589" /></tspan><tspan + sodipodi:role="line" + x="25" + y="798.66217" + style="font-size:10px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:112.99999952%;writing-mode:lr-tb;text-anchor:start;fill:#bbbbbb;fill-opacity:1;font-family:Roboto;-inkscape-font-specification:Roboto Medium" + id="tspan2818">Use your physical keyboard to provide input</tspan></text> + </g> +</svg> diff --git a/emulator/skins/dynamic/arrow_down.png b/emulator/skins/dynamic/arrow_down.png Binary files differnew file mode 100644 index 0000000..b9fde22 --- /dev/null +++ b/emulator/skins/dynamic/arrow_down.png diff --git a/emulator/skins/dynamic/arrow_left.png b/emulator/skins/dynamic/arrow_left.png Binary files differnew file mode 100644 index 0000000..281b192 --- /dev/null +++ b/emulator/skins/dynamic/arrow_left.png diff --git a/emulator/skins/dynamic/arrow_right.png b/emulator/skins/dynamic/arrow_right.png Binary files differnew file mode 100644 index 0000000..4cbc65d --- /dev/null +++ b/emulator/skins/dynamic/arrow_right.png diff --git a/emulator/skins/dynamic/arrow_up.png b/emulator/skins/dynamic/arrow_up.png Binary files differnew file mode 100644 index 0000000..29c7121 --- /dev/null +++ b/emulator/skins/dynamic/arrow_up.png diff --git a/emulator/skins/dynamic/basic.png b/emulator/skins/dynamic/basic.png Binary files differnew file mode 100644 index 0000000..585ccfe --- /dev/null +++ b/emulator/skins/dynamic/basic.png diff --git a/emulator/skins/dynamic/button.png b/emulator/skins/dynamic/button.png Binary files differnew file mode 100644 index 0000000..8281d20 --- /dev/null +++ b/emulator/skins/dynamic/button.png diff --git a/emulator/skins/dynamic/dpad_off.png b/emulator/skins/dynamic/dpad_off.png Binary files differnew file mode 100644 index 0000000..84a7d2a --- /dev/null +++ b/emulator/skins/dynamic/dpad_off.png diff --git a/emulator/skins/dynamic/dpad_on.png b/emulator/skins/dynamic/dpad_on.png Binary files differnew file mode 100644 index 0000000..9813a53 --- /dev/null +++ b/emulator/skins/dynamic/dpad_on.png diff --git a/emulator/skins/dynamic/hwkeys_off.png b/emulator/skins/dynamic/hwkeys_off.png Binary files differnew file mode 100644 index 0000000..468e727 --- /dev/null +++ b/emulator/skins/dynamic/hwkeys_off.png diff --git a/emulator/skins/dynamic/hwkeys_on.png b/emulator/skins/dynamic/hwkeys_on.png Binary files differnew file mode 100644 index 0000000..e4f732f --- /dev/null +++ b/emulator/skins/dynamic/hwkeys_on.png diff --git a/emulator/skins/dynamic/keyboard_off.png b/emulator/skins/dynamic/keyboard_off.png Binary files differnew file mode 100644 index 0000000..c8b486a --- /dev/null +++ b/emulator/skins/dynamic/keyboard_off.png diff --git a/emulator/skins/dynamic/keyboard_on.png b/emulator/skins/dynamic/keyboard_on.png Binary files differnew file mode 100644 index 0000000..97b45bf --- /dev/null +++ b/emulator/skins/dynamic/keyboard_on.png diff --git a/emulator/skins/dynamic/layout b/emulator/skins/dynamic/layout new file mode 100644 index 0000000..5fa7d97 --- /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 + } + } + } +} diff --git a/emulator/skins/dynamic/select.png b/emulator/skins/dynamic/select.png Binary files differnew file mode 100644 index 0000000..f4a65d3 --- /dev/null +++ b/emulator/skins/dynamic/select.png |