I am trying to make a simple app for my Galaxy Watch which runs on Tizen. All I want to do for now is to display a white screen with two circular buttons on the top and bottom (plus and minus buttons). I seem to have the white screen part settled. But, when I try to display the icon, the icon fills the whole window. I need help, please.
(PS: I have some knowledge on Android app development. But, Tizen is a completely different ball game. I know C & C++ to a certain extent)
Evas_Object *bg = elm_bg_add(ad->win);
elm_bg_color_set(bg, 255, 233, 26);
evas_object_size_hint_weight_set(bg, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
elm_win_resize_object_add(ad->win, bg);
evas_object_show(bg);
/* Plus Icon */
Evas_Object *plusIcon = elm_icon_add(bg);
elm_image_file_set(plusIcon, "/opt/usr/apps/org.example.basicui/res/images/plus.png", NULL);
elm_object_content_set(bg, plusIcon);
The Tizen documentation is really confusing and lacklustre (unlike Android's). Also, I can't find any wholesome tutorial regarding Tizen Native Wearable App Development. If you know of any such tutorial, please share it with me.
Thanks again.