-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathtransitions_a.xml
75 lines (66 loc) · 3.21 KB
/
transitions_a.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<Alloy>
<Window id="win" title="Activity Transitions (A)">
<ActionBar displayHomeAsUp="true" onHomeIconItemSelected="closeWindow" />
<ScrollView>
<View class="vbox">
<Label class="help">Ti.UI.Window.activityEnterTransition</Label>
<Label class="help">Animation of Window B as it opens. Defaults to FADE_IN.</Label>
<Picker id="activityEnterTransition" class="tpad-s">
<Column>
<Row title="undefined"/>
<Row title="TRANSITION_EXPLODE"/>
<Row title="TRANSITION_FADE_IN"/>
<Row title="TRANSITION_FADE_OUT"/>
<Row title="TRANSITION_SLIDE_TOP"/>
<Row title="TRANSITION_SLIDE_RIGHT"/>
<Row title="TRANSITION_SLIDE_BOTTOM"/>
<Row title="TRANSITION_SLIDE_LEFT"/>
<Row title="TRANSITION_NONE"/>
</Column>
</Picker>
<Label class="help tpad">Ti.UI.Window.activityReturnTransition</Label>
<Label class="help">Animation of Window B as it closes. Defaults to the enter transition.</Label>
<Picker id="activityReturnTransition" class="tpad-s">
<Column>
<Row title="undefined"/>
<Row title="TRANSITION_EXPLODE"/>
<Row title="TRANSITION_FADE_IN"/>
<Row title="TRANSITION_FADE_OUT"/>
<Row title="TRANSITION_SLIDE_TOP"/>
<Row title="TRANSITION_SLIDE_RIGHT"/>
<Row title="TRANSITION_SLIDE_BOTTOM"/>
<Row title="TRANSITION_SLIDE_LEFT"/>
<Row title="TRANSITION_NONE"/>
</Column>
</Picker>
<Label class="help tpad">Ti.UI.Window.activitySharedElementEnterTransition</Label>
<Label class="help">Animation of shared elements from Window A to B. Defaults to all CHANGE_* in parallel.</Label>
<Picker id="activitySharedElementEnterTransition" class="tpad-s">
<Column>
<Row title="undefined"/>
<Row title="TRANSITION_CHANGE_BOUNDS"/>
<Row title="TRANSITION_CHANGE_CLIP_BOUNDS"/>
<Row title="TRANSITION_CHANGE_TRANSFORM"/>
<Row title="TRANSITION_CHANGE_IMAGE_TRANSFORM"/>
<Row title="TRANSITION_NONE"/>
</Column>
</Picker>
<Label class="help tpad">Ti.UI.Window.activitySharedElementReturnTransition</Label>
<Label class="help">Animation of shared elements from Window B to A. Defaults to the enter transition.</Label>
<Picker id="activitySharedElementReturnTransition" class="tpad-s">
<Column>
<Row title="undefined"/>
<Row title="TRANSITION_CHANGE_BOUNDS"/>
<Row title="TRANSITION_CHANGE_CLIP_BOUNDS"/>
<Row title="TRANSITION_CHANGE_TRANSFORM"/>
<Row title="TRANSITION_CHANGE_IMAGE_TRANSFORM"/>
<Row title="TRANSITION_NONE"/>
</Column>
</Picker>
<ImageView id="logo" class="tpad" transitionName="logo" image="/images/logo.png" />
<Label id="text" class="help tpad-s" transitionName="text">Tap the button and see the logo and this text transition from this Window to the next.</Label>
<Button class="tpad" onClick="openWindowB">Open Window B</Button>
</View>
</ScrollView>
</Window>
</Alloy>