aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSiva Velusamy <vsiva@google.com>2012-10-04 17:44:27 -0700
committerChirayu Desai <cdesai@cyanogenmod.org>2013-03-28 20:11:22 +0530
commit2ed75275928cbccd3c30b12856866a61442363ff (patch)
tree19fb4b7bccc165f4071bd1d69a0f69451a1f38f8 /docs
parenta546c7006355a7bd1df4267ee53d0bfa2c017c8c (diff)
downloadexternal_qemu-2ed75275928cbccd3c30b12856866a61442363ff.zip
external_qemu-2ed75275928cbccd3c30b12856866a61442363ff.tar.gz
external_qemu-2ed75275928cbccd3c30b12856866a61442363ff.tar.bz2
Support dynamic skin layout
This CL adds support for a skin whose layout section is generated at runtime based on the hardware configuration. Change-Id: I5f81f665b49ce0f3ec5795d922a08b30c1f34b98
Diffstat (limited to 'docs')
-rw-r--r--docs/ANDROID-SKIN-FILES.TXT20
1 files changed, 19 insertions, 1 deletions
diff --git a/docs/ANDROID-SKIN-FILES.TXT b/docs/ANDROID-SKIN-FILES.TXT
index 004f83d..edd7545 100644
--- a/docs/ANDROID-SKIN-FILES.TXT
+++ b/docs/ANDROID-SKIN-FILES.TXT
@@ -1,8 +1,10 @@
Android Emulator Skin File Specification:
=========================================
+Revisions:
+----------
Revision 2. Dated 2009-12-07
-
+ Dynamic Layout support added 10/2012
Introduction:
-------------
@@ -18,6 +20,9 @@ corresponding to different orientation / physical configurations of the
emulated handset.
This document specifies how to generate a new skin for the emulator.
+The emulator also supports dynamically creating the layout section of
+the skin, thereby removing the necessity to create skins for each new
+handset type. See the last section regarding info on dynamic controls.
General File Format:
--------------------
@@ -219,3 +224,16 @@ file instead:
- 'network.delay':
Default network latency for this skin. Values correspond to the
-netdelay <delay> emulator command-line option.
+
+Dynamic Layouts:
+----------------
+
+The emulator also supports a skin that is dynamically generated. This
+skin (present in folder "dynamic" in the skins folder) follows the same
+format as other skins, except that it only defines the list of parts/controls
+that can be used in the skin. The layouts section is generated at
+runtime by the emulator. The parts section describes all the controls that
+can be used in any handset. All these parts have both an enabled and a
+disabled version defined in the skin, and at runtime the emulator reads
+the hardware definition and decides which of those two controls to actually
+use.