How do i change the image dynamically to hello.png

How do i change the image dynamically to hello.png

BY 18 Dec 2018 Native Application Development

part {
            name: “logo1”;
            type: IMAGE;
            scale: 0;
            desc{
               image.normal: “ic_network_wifi.png”;
               min: 16 16;
               max: 50 50;
               rel1.relative: 0.7 0;
               rel2.relative: 1.0 1.0;

            }
         }

The code for setting my layout is:

ad->layout = elm_layout_add(ad->win);

elm_layout_file_set(ad->layout, edj_path, “main”);

evas_object_size_hint_weight_set(ad->layout, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
eext_object_event_callback_add(ad->layout, EEXT_CALLBACK_BACK, layout_back_cb, ad);

 elm_object_content_set(ad->conform, ad->layout);

 

How do i get the image reference and change it to hello.png during runtime.

 

 

Written by