Languages

Menu
Sites
Language
A Native app with two windows, window transition displays the main app screen

Hi, I am developing a native app which has two windows for gear s2. On back press of window 2, window1 should be displayed.

I am doing

evas_object_hide(ad->win2); 

evas_object_show(ad->win1);

Now, during this transition, it displays the main window of the gear, where the apps are displayed. This transition should be smooth. I am not able to get the root cause of the issue.

 

Responses

2 Replies
Sergey Artuh

For switching views use this (with smooth transition as you wish):

https://developer.tizen.org/ru/development/ui-practices/native-application/efl/ui-containers/creating-naviframe-navigation

Hermet Park

I have no idea why you are creating multiple windows. Window is a expensive resource. It would be slower than just normal logical view objects. Generally, elm_naviframe provides view transtion effects. If you don't have any specific reasons for multiple windows, then i recommend you to use a naviframe instead of windows.