Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20507] Android: Enable activity*Transition without sharedElements

GitHub Issuen/a
TypeImprovement
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 5.2.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterFokke Zandbergen
AssigneeUnknown
Created2016-03-03T07:44:58.000+0000
Updated2018-02-28T19:55:53.000+0000

Description

Comments

  1. Hazem Khaled 2016-03-28

    +1
  2. Michael Gangolf 2017-09-23

    I've tried that code above but it won't open the first window if you don't use animated:false in win.open()
       var win = Ti.UI.createWindow({
       	backgroundColor: '#fff',
       	activityEnterTransition: Titanium.UI.Android.TRANSITION_SLIDE_LEFT,
       	activityExitTransition: Titanium.UI.Android.TRANSITION_SLIDE_TOP
       });
       
       var win2 = Ti.UI.createWindow({
       	backgroundColor: '#f00',
       	activityEnterTransition: Titanium.UI.Android.TRANSITION_SLIDE_LEFT,
       	activityExitTransition: Titanium.UI.Android.TRANSITION_EXPLODE
       });
       
       var btn = Ti.UI.createButton({
       	title: "open"
       });
       btn.addEventListener("click", function() {
       	win2.open();
       });
       win.add(btn);
       win.open({
           animated:false
       });
       
    It would be nice to use the transitions without a sharedElement.

JSON Source