[dali_1.0.38] Merge branch 'tizen'
[platform/core/uifw/dali-demo.git] / examples / animated-shapes / animated-shapes-example.cpp
index fa98009..ba34cea 100644 (file)
@@ -18,6 +18,8 @@
 #include <dali/dali.h>
 #include <dali-toolkit/dali-toolkit.h>
 
+#include "shared/view.h"
+
 using namespace Dali;
 
 namespace
@@ -47,12 +49,14 @@ public:
   // The Init signal is received once (only) during the Application lifetime
   void Create( Application& application )
   {
+    DemoHelper::RequestThemeChange();
+
     // Get a handle to the stage
     Stage stage = Stage::GetCurrent();
 
     //Create a view
     mView = Dali::Toolkit::View::New();
-    mView.SetResizePolicy( FILL_TO_PARENT, ALL_DIMENSIONS );
+    mView.SetResizePolicy( ResizePolicy::FILL_TO_PARENT, Dimension::ALL_DIMENSIONS );
     stage.Add( mView );
 
     //Set background image for the view