Languages

Menu
Sites
Language
Enable only numeric virtual keyboard with entry

Hi,

I want to show only numeric keyboard when the entry is clicked.

How can it be achieved?

Responses

8 Replies
Alex Dem

Hi,
Try to perform for your entry:

    elm_entry_input_panel_layout_set(ad->entry,ELM_INPUT_PANEL_LAYOUT_NUMBERONLY);

Alexey.

Palitsyna

Hello,

as Alex Dem said, try to use

elm_entry_input_panel_layout_set(ad->entry,ELM_INPUT_PANEL_LAYOUT_NUMBERONLY);

More information about this you can find here:

https://developer.tizen.org/dev-guide/2.3.0/org.tizen.native.mobile.apireference/group__Entry.html#ga384e52bed489232259ff7ad51c04fccd

Nikhil Kumar

Hi Alex,

Is there any way to shorten the height and width of virtual keyboard?

 

Alex Dem

Hi,
I did not face with such possibility.
Alexey.

Nikhil Kumar

Hi,

The issue which I am facing is that virtual keyboard covers the entry. Do you have any idea how I can make the entry go up as I type or any other workaround for this issue?

colin Rao

try to put your entry widget or its parent under the conformant, as below:

ad->conform = elm_conformant_add(ad->win);

 

Palitsyna
Carsten Haitzler

yup conformant. add it to the toplevel of your window and put all content inside the conformant. :)