Mobile native Wearable native

Conformant

A conformant is a container UI component that accounts for the space taken by the indicator, virtual keyboard, and softkey windows. The content area of the conformant is resized and positioned based on the space available. When the virtual keyboard is displayed, the content area is not resized.

Figure: Conformant container

Conformant container

Creating a Conformant

To create a conformant, use the elm_conformant_add() function:

Evas_Object *conformant;

conformant = elm_conformant_add(parent);

Adding Content to the Conformant

To add content to the conformant, use the elm_object_content_set() function:

elm_object_content_set(conformant, main_view);

Listening to Signals

To receive notifications about the state of the virtual keyboard and clipboard, listen to the following Evas signals:

  • virtualkeypad,state,on: The virtual keyboard has been switched on.
  • virtualkeypad,state,off: The virtual keyboard has been switched off.
  • virtualkeypad,size,changed: The virtual keyboard size has changed.
  • clipboard,state,on: The clipboard has been switched on.
  • clipboard,state,off: The clipboard has been switched off.
Note
Except as noted, this content is licensed under LGPLv2.1+.
Go to top