Android Emulator Platforms - Are there tools and specifications?

Skins for Android emulators are defined in the directory among / platform / android -xxx / skins. Additional skins for a specific manufacturer are also located in the folder / add-ons). Parts of the skin are stored here, such as images for the backgournd and buttons, and a file that organizes these parts into a skin called layout.

The layout file contains a hierarchical list of key-value pairs that defines parts and layouts. Here is a snippet to illustrate:

display { width 480 height 800 x 32 y 106 } background { image htc-evo-4g.png x 0 y 0 } button { soft-left { image key.png x 191 y 921 } home { image key.png x 73 y 921 } ... } 

My questions:

Is there a complete language specification for the layout file?

Are there any tools for creating skins, i.e. images and layout files?

+4
source share
1 answer

Android emulators are based on qemu. You can find a simple skin layout file document in (Android Source Dir) /external/qemu/docs/ANDROID-SKIN-FILES.TXT (I work with Android 2.3).

Or just go to here

+5
source

Source: https://habr.com/ru/post/1382587/


All Articles