| 1 |
<?xml version="1.0"?> |
| 2 |
<template |
| 3 |
format="4" |
| 4 |
revision="2" |
| 5 |
name="Daydream" |
| 6 |
description="Creates a new Daydream service component, for use on devices running Android 4.2 and later." |
| 7 |
minBuildApi="17"> |
| 8 |
|
| 9 |
<parameter |
| 10 |
id="className" |
| 11 |
name="Class Name" |
| 12 |
type="string" |
| 13 |
constraints="class|unique|nonempty" |
| 14 |
default="MyDaydreamService" /> |
| 15 |
|
| 16 |
<parameter |
| 17 |
id="isInteractive" |
| 18 |
name="Interactive?" |
| 19 |
type="boolean" |
| 20 |
default="false" |
| 21 |
help="Whether or not the Daydream is interactive. Touching anywhere on a non-interactive Daydreams dismisses it." /> |
| 22 |
|
| 23 |
<parameter |
| 24 |
id="isFullscreen" |
| 25 |
name="Fullscreen?" |
| 26 |
type="boolean" |
| 27 |
default="true" |
| 28 |
help="Whether or not the Daydream should be in fullscreen mode (in which case system UI will be hidden)." /> |
| 29 |
|
| 30 |
<parameter |
| 31 |
id="isScreenBright" |
| 32 |
name="Bright Screen?" |
| 33 |
type="boolean" |
| 34 |
default="true" |
| 35 |
help="Whether or not the screen should be bright when this Daydream is running. The screen will be dim otherwise." /> |
| 36 |
|
| 37 |
<parameter |
| 38 |
id="configurable" |
| 39 |
name="Configuration Activity" |
| 40 |
type="boolean" |
| 41 |
default="false" |
| 42 |
help="Whether or not to generate an associated settings Activity." /> |
| 43 |
|
| 44 |
<globals file="globals.xml.ftl" /> |
| 45 |
<execute file="recipe.xml.ftl" /> |
| 46 |
|
| 47 |
</template> |