January 2003
Intermediate to advanced
896 pages
19h 58m
English
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"/> ...
Read now
Unlock full access