Using Emulator Skins

The GUI for the emulator can be customized by creating a skin. A custom skin gives the emulator the look and feel of a specific hardware platform. Skins are not essential, but you might find them helpful if you want to customize the emulator appearance. Skins are defined in an XML file, as shown in the following example code.

Example 5-3. Oval.xml

<?xml version="1.0"?> <skin>   <view     titleBar ="Oval Emulator Skin"     displayPosX="72"        displayPosY="72"     displayWidth="336"     displayHeight="216"     displayDepth="8"     normalImage="Oval.bmp"     mappingImage="OvalButtonMap.bmp"     downImage="OvalButtonDown.bmp"   >     <!-- Red button -->     <button mappingColor="0xFF0000" toolTip="Left"  onClick="Key_Left"/> ...

Get Microsoft® .NET Compact Framework (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.