Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
circle 앱에서 label 이 안나오는 문제 관련
안녕하세요.
기어 서클앱을 짜고 있는데요…
제가 짜고 있는 앱은 배경이미지와 시계로 구성된 메인 화면에
시계 영역을 터치시 로터리앱이 뜨도록 구성하려고 합니다.
그런데 아래와 같이 코드를 짰더니 ,
label 문구가 보이지 않습니다. bg 이미지만 나오고 있습니다.
box object를 지워도 현상은 동일합니다.
도대체 어느부분이 잘못된걸까요?
도움좀 부탁드립니다.
ad->layout = elm_layout_add(ad->conform);
elm_layout_theme_set(ad->layout, “layout”, “application”, “default”);
evas_object_size_hint_weight_set(ad->layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_show(ad->layout);
elm_object_content_set(ad->conform, ad->layout);
// Naviframe
ad->nf = elm_naviframe_add(ad->layout);
image = elm_bg_add(ad->nf);
app_get_resource(“images/sun2.png”, buf, (int)TEXT_BUF_SIZE);
elm_bg_file_set(image, buf, NULL);
evas_object_size_hint_weight_set(image, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(image, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_resize(ad->image, 360, 360);
evas_object_move(ad->image, 0, 0);
evas_object_show(ad->image);
Evas_Object *box = elm_box_add(image);
elm_box_horizontal_set(box, EINA_TRUE);
elm_box_align_set(box, 0.0, 0.0);
elm_box_padding_set(box, 20, 0);
evas_object_show(box);
label = elm_label_add(box);
evas_object_size_hint_weight_set(label, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(label, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_object_text_set(label, _(“<align=center><color=#E0E0E0><font_size=26>10:10</font_size></color></align>”));
evas_object_show(label);
evas_object_smart_callback_add(label, “clicked”, label_clicked_cb, ad);
elm_box_pack_end(box, label);
nf_it = elm_naviframe_item_push(ad->nf, “Watch Face”, NULL, NULL, image, “empty”);
elm_naviframe_item_pop_cb_set(nf_it, naviframe_objective_pop_cb, ad->win);
btn = elm_button_add(ad->nf);
elm_object_style_set(btn, “naviframe/end_btn/default”);
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio