--- /dev/null
+/*
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __AIR_HOME_VIEW_HOME_H__
+#define __AIR_HOME_VIEW_HOME_H__
+
+view_class *view_home_get_vclass(void);
+
+#endif /* __AIR_HOME_VIEW_HOME_H__ */
--- /dev/null
+/*
+
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <Elementary.h>
+#include <app_debug.h>
+#include <viewmgr.h>
+#include <inputmgr.h>
+
+#include "defs.h"
+#include "view_home.h"
+
+struct _priv {
+ Evas_Object *win;
+ Evas_Object *base;
+};
+
+static bool _add_navigations(Evas_Object *base)
+{
+ Evas_Object *ly;
+
+ if (!base) {
+ _ERR("Invalid argument");
+ return false;
+ }
+
+ ly = elm_layout_add(base);
+ if (!ly) {
+ _ERR("failed to add layout");
+ return false;
+ }
+ elm_layout_file_set(ly, EDJEFILE, GRP_HOME_DOWN_ARROW);
+ elm_object_focus_allow_set(ly, EINA_TRUE);
+ elm_object_part_content_set(base, PART_HOME_DOWN_ARROW, ly);
+
+ ly = elm_layout_add(base);
+ if (!ly) {
+ _ERR("failed to add layout");
+ return false;
+ }
+ elm_layout_file_set(ly, EDJEFILE, GRP_HOME_UP_ARROW);
+ elm_object_focus_allow_set(ly, EINA_TRUE);
+ elm_object_part_content_set(base, PART_HOME_UP_ARROW, ly);
+
+ return true;
+}
+
+static bool _add_home(struct _priv *priv, Evas_Object *base)
+{
+ if (!priv || !base) {
+ _ERR("Invalid argument");
+ return false;
+ }
+
+ if (!_add_navigations(base)) {
+ _ERR("failed to add navigations");
+ return false;
+ }
+
+ /* It should be implemented later */
+
+ return true;
+}
+
+static Evas_Object *_create(Evas_Object *win, void *data)
+{
+ struct _priv *priv;
+ Evas_Object *base;
+
+ if (!win) {
+ _ERR("Invalid argument");
+ return NULL;
+ }
+
+ priv = calloc(1, sizeof(*priv));
+ if (!priv) {
+ _ERR("failed to calloc priv");
+ return NULL;
+ }
+
+ base = elm_layout_add(win);
+ if (!base) {
+ _ERR("failed to create base");
+ free(priv);
+ return NULL;
+ }
+ elm_layout_file_set(base, EDJEFILE, GRP_HOME);
+ evas_object_size_hint_weight_set(base, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+ elm_win_resize_object_add(win, base);
+
+ priv->win = win;
+ priv->base = base;
+
+ if (!_add_home(priv, base)) {
+ _ERR("failed to load home");
+ evas_object_del(base);
+ free(priv);
+ return NULL;
+ }
+
+ viewmgr_set_view_data(VIEW_HOME, priv);
+
+ return base;
+}
+
+static void _show(void *data)
+{
+ struct _priv *priv;
+
+ if (!data) {
+ _ERR("Invalid argument");
+ return;
+ }
+
+ priv = data;
+
+ evas_object_show(priv->base);
+ elm_object_signal_emit(priv->base, SIG_SHOW_NAVIGATION, SRC_PROG);
+}
+
+static void _hide(void *data)
+{
+ struct _priv *priv;
+
+ if (!data) {
+ _ERR("Invalid argument");
+ return;
+ }
+
+ priv = data;
+
+ evas_object_hide(priv->base);
+}
+
+static void _destroy(void *data)
+{
+ struct _priv *priv;
+
+ if (!data) {
+ _ERR("Invalid argument");
+ return;
+ }
+
+ priv = data;
+
+ evas_object_del(priv->base);
+ free(priv);
+}
+
+static view_class vclass = {
+ .view_id = VIEW_HOME,
+ .create = _create,
+ .show = _show,
+ .hide = _hide,
+ .destroy = _destroy
+};
+
+view_class *view_home_get_vclass(void)
+{
+ return &vclass;
+}
+