}
}
- if (__pEdit && !__pEdit->IsDestroyed())//restore ScrollPanel when force deleted
- {
- AdjustParentPanelHeight(true);
- }
+ AdjustParentPanelHeight(true);
__isKeypadExist = false;
__initialFooterVisibleStatus = EDIT_FOOTER_VISIBLE_STATUS_NONE;
if (__isUSBKeyboardConnected)
{
SysLog(NID_UI_CTRL, "[EDIT]ShowKeypad called in USB ON mode!!!!");
+
+ __isKeypadExist = CheckKeypadExist(__pEdit->GetOrientation()); //prediction alreaedy exists
+
if (__initialFooterVisibleStatus == EDIT_FOOTER_VISIBLE_STATUS_NONE)
{
CheckInitialFooterVisibleState();
}
- if (__isKeypadCommandButtonVisible)
+ if (__isKeypadExist)
{
- __pEdit->SendKeypadEvent(GetKeypadAction(), CORE_KEYPAD_EVENT_STATUS_CREATED);
- __pEdit->AttachScrollPanelEvent();
- __pEdit->SendScrollPanelEvent(CORE_OVERLAY_CONTROL_CREATED);
+ if (__isKeypadCommandButtonVisible)
+ {
+ __pEdit->SendKeypadEvent(GetKeypadAction(), CORE_KEYPAD_EVENT_STATUS_CREATED);
+ __pEdit->AttachScrollPanelEvent();
+ __pEdit->SendScrollPanelEvent(CORE_OVERLAY_CONTROL_CREATED);
- SetFooterVisible(false);
- ChangeLayoutInternal(__pEdit->GetOrientation());
- AdjustParentPanelHeight(false);
+ SetFooterVisible(false);
+ ChangeLayoutInternal(__pEdit->GetOrientation());
+ AdjustParentPanelHeight(false);
- __pEdit->SendKeypadEvent(GetKeypadAction(), CORE_KEYPAD_EVENT_STATUS_OPEN);
- __pEdit->SendScrollPanelEvent(CORE_OVERLAY_CONTROL_OPENED);
+ __pEdit->SendKeypadEvent(GetKeypadAction(), CORE_KEYPAD_EVENT_STATUS_OPEN);
+ __pEdit->SendScrollPanelEvent(CORE_OVERLAY_CONTROL_OPENED);
+ }
+ else
+ {
+ ChangeLayoutInternal(__pEdit->GetOrientation());
+ AdjustParentPanelHeight(false);
+ }
}
ScrollPanelToCursorPosition();
if (__isKeypadExist)
{
ChangeLayoutInternal(__pEdit->GetOrientation());
- //ChangeLayoutInternal(__pEdit->GetOrientation(), false);
+ AdjustParentPanelHeight(false);
ScrollPanelToCursorPosition();
if (__pParentForm)
{