-
Notifications
You must be signed in to change notification settings - Fork 15
/
template.xml
47 lines (40 loc) · 1.21 KB
/
template.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0"?>
<template
format="5"
revision="5"
name="Kotlin Mvp Template"
minApi="9"
minBuildApi="14"
description="Creates a new empty kotlin mvp template">
<category value="Activity" />
<formfactor value="Mobile" />
<parameter
id="activityClass"
name="Module Name"
type="string"
constraints="class|unique|nonempty"
default="Category"
help="The name of the activity class to create" />
<parameter
id="layoutName"
name="Layout Name"
type="string"
constraints="layout|unique|nonempty"
suggest="${activityClass?uncap_first}_activity"
default="activity_main"
visibility="true"
help="The name of the layout to create for the activity" />
<parameter
id="packageName"
name="Package name"
type="string"
constraints="package"
default="com.mycompany.myapp" />
<!-- 128x128 thumbnails relative to template.xml -->
<thumbs>
<!-- default thumbnail is required -->
<thumb>template_blank_activity.png</thumb>
</thumbs>
<globals file="globals.xml.ftl" />
<execute file="recipe.xml.ftl" />
</template>