Modified to set keyboard's position dynamically 96/79496/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Mon, 11 Jul 2016 12:54:09 +0000 (21:54 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Mon, 11 Jul 2016 12:54:09 +0000 (21:54 +0900)
Change-Id: I01af7c1903a1e82b3e4c935e301d4bf4cee27fd8

data/layout/sdk/LYT_PORTRAIT_QTY_CHINESE.xml
src/ise.cpp

index 8f04a6b..526e831 100644 (file)
@@ -11,7 +11,7 @@
     <rec button="pressed">button/B09_Qwerty_btn_press.png</rec>
     <rec button="disabled">button/B09_Qwerty_btn_01.png</rec>
   </background_image>
-  <row x="9" y="95">
+  <row x="9" y="11">
     <key use_magnifier="true" longkey_magnifier="true" long_key_value="1" multitouch_type="settle_previous" hit_left="9">
       <label>
         <rec auto_upper="true">q</rec>
index 1005b33..fc04d7d 100644 (file)
@@ -482,11 +482,13 @@ void CCoreEventCallback::on_candidate_show(sclint ic, const sclchar *ic_uuid)
         g_candidate->show();
 
     g_softcandidate_show = true;
+    g_ui->set_custom_starting_coordinates(0, CANDIDATE_WINDOW_HEIGHT);
 }
 
 void CCoreEventCallback::on_candidate_hide(sclint ic, const sclchar *ic_uuid)
 {
     add_softcandidate_hide_timer();
+    g_ui->set_custom_starting_coordinates(0, 0);
 }
 
 void CCoreEventCallback::on_process_input_device_event(sclu32 &type, sclchar *data, size_t &len, sclu32 *ret)