char *max_text_length = NULL;
char *cursor_position_set = NULL;
char *input_panel_layout = NULL;
+ char *single_line = NULL;
input_keyboard_deinit();
free(input_panel_layout);
input_panel_layout = NULL;
+ // single line
+ ret = app_control_get_extra_data(app_control, "http://tizen.org/appcontrol/data/input_single_line", &single_line);
+ if (ret == APP_CONTROL_ERROR_NONE) {
+ if (single_line) {
+ g_input_keyboard_data.single_line = atoi(single_line);
+ }
+ }
+
+ free(single_line);
+ single_line = NULL;
+
return true;
}
elm_entry_entry_set(entry, g_input_keyboard_data.default_text.c_str());
elm_entry_cursor_end_set(entry);
elm_entry_input_panel_return_key_type_set(entry, g_input_keyboard_data.return_key_type);
+ elm_entry_single_line_set(entry, g_input_keyboard_data.single_line);
if (g_input_keyboard_data.return_key_type == ELM_INPUT_PANEL_RETURN_KEY_TYPE_DONE) {
evas_object_smart_callback_add(entry, "activated", enter_keydown_cb, NULL);