Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24587] activityEnterAnimation is not working as a parameter to createWindow

GitHub Issuen/a
TypeBug
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterILAY SENER
AssigneeUnknown
Created2017-04-04T05:43:18.000+0000
Updated2018-02-28T19:55:41.000+0000

Description

Titanium app:
var win = Ti.UI.createWindow({
    backgroundColor:'white',
    activityEnterAnimation : Ti.Android.R.anim.slide_in_left,
    activityExitAnimation : Ti.Android.R.anim.slide_in_left
});

win.open();
Below styling of window enter/exit has no effect when used in TSS file. 'Window':{ activityEnterAnimation: Ti.Android.R.anim.slide_in_left, activityExitAnimation: Ti.Android.R.anim.slide_in_left }, Steps to reproduce: create an alloy mobile project. copy and paste the above to the index.hss file. Implement click to open another window from index.

Attachments

FileDateSize
Screen Shot 2017-04-18 at 09.15.46.png2017-04-17T23:16:13.000+0000245334

Comments

  1. Feon Sua Xin Miao 2017-04-17

    -Looks like an issue with SDK, moving to TIMOB.-
  2. Feon Sua Xin Miao 2017-04-17

    [~isener], I think activityEnterAnimation and activityExitAnimation should be set in the parameter pass to open() or close() of the window, not while creating the window.
  3. ILAY SENER 2017-04-17

    Hi [~fmiao], Thanks for the quick response. However, the code completion/suggestion in TSS file for Window shows these parameters. Hence, one would assume that this can be set in the TSS file. Screen-grab is attached.
  4. Feon Sua Xin Miao 2017-04-17

    Moving to TIMOB to confirm usage of activityEnterAnimation and activityExitAnimation.

JSON Source