语言

Menu
Sites
Language
What is the concept of conformant?

We see to create GUI of an application, we need to follow below clue

     window->conformant->naviframe->box->label(button, ...)

Every other things in the clue except conformant seems has concreate meaning. For example, window corresponds to the whole screen of the phone, box corresponds to an area where can put in some sub elements, such as label, button and so on, the naviframe is a container which can put a series of boxes in.

But what is conformant? it seems a concept more abstractively. We just know conformant goes inside the window first and everything created from now on is inside it. But what is the usage for it? Why we need such an abstraction?

Anyone who can help to explain it?

编辑者为: Leo Liao 07 7月, 2015

响应

4 回复
colin Rao

Hi,

As the conformant container description. https://developer.tizen.org/dev-guide/2.3.0/org.tizen.guides/html/native/ui/containers_n.htm

But, I think there is a typo in the description,

such as,

When the virtual keyboard is displayed, the content area is not resized.

should be,

When the virtual keyboard is displayed, the content area is resized.

Just in my opinion, according to the real behavior of layout while the keyboard displayed. :)

woochan lee

Oops, i clicked the report the spam button by mistake;;

 

Hi,

You are totally right. the elm_conform will be resized when keypad show up.

 

woochan lee

Oops, i clicked the report the spam button by mistake;;

 

Hi,

You are totally right. the elm_conform will be resized when keypad show up.

 

Carsten Haitzler

conformant comes from "this app conforms to some obscuring protocols". it also adds the bar for reception/notifications etc. at the top of your app. so in some worlds you may have to manually add some indicator widget at the top of your window, then add content below. here we add a conformant and you add content inside. the conformant then adds the indicator bar at top and handles vkbd "stuff". so it's functionally equivalent to other environments, but it works as a container instead and has this name.

also ntoe that elm also works on desktop - and here you need no conformant, so the same app you have can run ona  regular desktop environment and there is no need to do this there. that's why it's also an extra.

maybe in future we can roll this into the window as a window feature. but this is how it is at this stage.