[TIMOB-24587] activityEnterAnimation is not working as a parameter to createWindow
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | n/a |
| Labels | n/a |
| Reporter | ILAY SENER |
| Assignee | Unknown |
| Created | 2017-04-04T05:43:18.000+0000 |
| Updated | 2018-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
| File | Date | Size |
|---|---|---|
| Screen Shot 2017-04-18 at 09.15.46.png | 2017-04-17T23:16:13.000+0000 | 245334 |
-Looks like an issue with SDK, moving to TIMOB.-
[~isener], I think
activityEnterAnimationandactivityExitAnimationshould be set in the parameter pass toopen()orclose()of the window, not while creating the window.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.
Moving to TIMOB to confirm usage of
activityEnterAnimationandactivityExitAnimation.