textinput/peninputgenericitut/src/peninputitutchnuistatepredict.cpp
branchRCL_3
changeset 10 6defe5d1bd39
parent 0 eb1f2e154e89
child 12 4eb1ae11334f
--- a/textinput/peninputgenericitut/src/peninputitutchnuistatepredict.cpp	Mon Mar 15 12:42:02 2010 +0200
+++ b/textinput/peninputgenericitut/src/peninputitutchnuistatepredict.cpp	Wed Mar 31 22:08:20 2010 +0300
@@ -125,7 +125,10 @@
     iOwner->LayoutContext()->ShowArrowBtn(0);
     
     //hide indicator 
-    iOwner->LayoutContext()->Control(ECtrlIdIndicator)->Hide(ETrue);        
+    iOwner->LayoutContext()->Control(ECtrlIdIndicator)->Hide(ETrue);     
+    // Show ICF, Backspace after position changed to avoid flick
+    iOwner->LayoutContext()->Control(ECtrlIdICF)->Hide( EFalse );
+    iOwner->LayoutContext()->Control(ECtrlIdBackspace)->Hide( EFalse );
     }
 
 void CChnItutUiStatePredict::OnExit()
@@ -143,12 +146,12 @@
     iOwner->DataMgr()->ClearChnCandidates(EItutCandidates);
     candlist->Hide(ETrue);
     
-    //show navi button
-    iOwner->LayoutContext()->ShowArrowBtn(EBtnArrowLeft | EBtnArrowRight
-             | EBtnArrowUp| EBtnArrowDown);
-    
     //show indicator 
     iOwner->LayoutContext()->Control(ECtrlIdIndicator)->Hide(EFalse);
+    // Hide ICF, Backspace, Arrow contrls when exit to avoid flick
+    iOwner->LayoutContext()->Control(ECtrlIdICF)->Hide( ETrue );
+    iOwner->LayoutContext()->Control(ECtrlIdBackspace)->Hide(ETrue);
+    iOwner->LayoutContext()->ShowArrowBtn(0);
     
     }