VoiceData& vd = *((VoiceData *) owner);
- LOGD("error = %d\n", reason);
+ LOGW("error = %d\n", reason);
vd.state = STT_STATE_VAL_INIT;
set_animation_state(&vd);
show_error_message(&vd, reason);
popup = elm_popup_add(win_main);
#ifdef _CIRCLE
elm_object_style_set(popup, "toast/circle");
+#else
+ elm_object_style_set(popup, "toast");
#endif
elm_popup_orient_set(popup, ELM_POPUP_ORIENT_BOTTOM);
evas_object_size_hint_weight_set(popup, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
}
if (text) {
+#ifdef _CIRCLE
elm_object_part_text_set(popup, "elm.text", text);
+#else
+ elm_object_text_set(popup, text);
+#endif
}
eext_object_event_callback_add(popup, EEXT_CALLBACK_BACK, _popup_back_cb, NULL);
evas_object_smart_callback_add(popup, "block,clicked", _popup_back_cb, NULL);
elm_popup_timeout_set(popup, 2.0);
+ evas_object_layer_set(popup, 32001);
evas_object_show(popup);
}
int ret;
init_customizing_theme();
+ win_main = win;
+
Evas_Object *layout_main = elm_layout_add(win);
evas_object_size_hint_weight_set(layout_main, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(layout_main, EVAS_HINT_FILL, EVAS_HINT_FILL);