Languages

Menu
Sites
Language
Where I can find default .edc's?

I was trying to build my app completely with C code, but failed. Now I'm starting to play with Edjie, and I wonder where the pre-installed default edjie styles are. For example, I want to build an app with Navigation Drawer pattern, not Tabs. I found tizen example (EmailUI), where layout was with that style:

elm_layout_theme_set(layout, "layout", "drawer", "panel");

And it worked! But now I want to change something, not ruining the whole thing. Where I can find this edc? Should it work, if I just copy this style to a new .edc and make some changes?

Basic Tizen tutorials don't give me the answer, I'm just stuck here.

Edited by: Mikhail Levchenko on 03 Apr, 2016

Responses

8 Replies
Chanwook Jung

You can find the winset styles in efl-theme-tizen git.

"drawer/panel" is in layout.edc

Please refer to the below link.

https://source.tizen.org/

https://review.tizen.org/git/

 

You can make new edc in your package.

 

group { name: "elm/layout/drawer/panel";
   parts {
      part { name: "elm.swallow.content";
         type: SWALLOW;
         scale: 1;
         description { state: "default" 0.0;
         }
      }
      part { name: "elm.swallow.bg";
         type: SWALLOW;
         mouse_events: 0;
         description { state: "default" 0.0;
         }
      }
      part { name: "elm.swallow.left";
         type: SWALLOW;
         scale: 1;
         description { state: "default" 0.0;
         }
      }
      part { name: "elm.swallow.right";
         type: SWALLOW;
         scale: 1;
         description { state: "default" 0.0;
         }
      }
   }
}
 

Chanwook Jung

https://developer.tizen.org/dev-guide/native/2.3.0/org.tizen.mobile.native.appprogramming/html/guide/ui/widgets_customization_guide.htm

Mikhail Levchenko

I got to projects / platform / core / uifw / efl-theme-tizen.git  and didn't find layout/drawer/panel in any of group, but, btw, thank you for your reply

Chanwook Jung

Please check the branch. Some versions does not support drawer layout.

Chanwook Jung

/profile/mobile/platform/core/uifw/efl-theme-tizen-mobile

This is mobile theme.

Alex Dem

Hi,
fyi, the same :
https://developer.tizen.org/development/ui-practices/native-application/efl/ui-component-infrastructure-modules/customizing-components
Alexey.

Mikhail Levchenko

Thank you, Alex, but how is it possible to change the title rectangle color of naviframe object with that?

 

Chanwook Jung

Hi,

You need to set "empty" naviframe style. This style is for customize in title area.

There is a swallow part in title area. so you can add a rect and set the color what you need.

The swallow part is "title".

If you need bg part, title text part and so on, you need to make a title layout

Because title area is empty.