Elm_Toolbar *_toolbar = NULL; //Toolbar
Elm_Button *_titleLeftBtn = NULL; //Title left button
Elm_Button *_titleRightBtn = NULL; //Title right button
+ bool _titleVisible = true;
bool _createLayout();
bool _destroyLayout();
elm_object_part_text_set(layout, "elm.text.title", text);
- if (text) elm_object_signal_emit(layout, "elm,state,title,show", "viewmgr");
+ if (text && this->_titleVisible) elm_object_signal_emit(layout, "elm,state,title,show", "viewmgr");
else elm_object_signal_emit(layout, "elm,state,title,hide", "viewmgr");
return true;
bool UiStandardViewImpl::setTitleVisible(bool visible, bool anim)
{
+ this->_titleVisible = visible;
+
//FIXME: save visible, anim value. they can be used in layout created time.
Elm_Layout *layout = this->getBase();
if (!layout) {