Languages

Menu
Sites
Language
UI BUILDER - Navigation View 을 사용하여 프로젝트를 생성했습니다. 상단에 네비게이션이 보이지 않습니다.

Tizen STUDIO 1.1.o

SDK 3.0

UI BUILDER - Navigation View 프로젝트

 

상단에 네비게이션이 보이지 않습니다.

naviframe이 이미 윈도우에서 생성된거 같은데..... naviframe 은 기본으로 들어간거 아닌가요?

어떻게 보이게 할 수 있나요?

xml 파일에 toolbar를 새로 넣어야 하나요??

 

 

 

 

Edited by: GukJin on 16 Feb, 2017
View Selected Answer

Responses

1 Replies
Mark as answer
Armaan-Ul- Islam

As far as I have used Native UI Builder I am sharing my findings here:

 

In UI Builder-Navigation view Project template, A naviframe is used but behind the scene (kind of backend). If you explore in project files:

 

Project-dir/src/managed/src/manager/uib_app_manager.c

 

In the function:

 

void prepare(){

………

……

Evas_Object* nf = win_obj->app_naviframe;

Elm_Object_Item* nf_it = elm_naviframe_bottom_item_get(nf);


eext_object_event_callback_add(nf, EEXT_CALLBACK_BACK, nf_hw_back_cb, vc);

evas_object_show(nf);

elm_naviframe_item_pop_cb_set(nf_it, nf_root_it_pop_cb, win_obj->win);

………

……

}

 

But the matter is this file is auto-generated each and every time you save your project, this is not for hand-edit. (You would find the message in comments section [In first line: expand ‘+’ button])

So, If you are really interested in using Naviframe with navigation buttons on top or with your personal customization you have to achieve that from Basic UI (EFL) template.

Or You can try dragging two buttons on top of the view in layout xml, and build your own navigation toolbar as you mentioned.