diff --git a/LimeStudio/app/build.gradle b/LimeStudio/app/build.gradle
index 08a7575d..01d95fd5 100644
--- a/LimeStudio/app/build.gradle
+++ b/LimeStudio/app/build.gradle
@@ -61,8 +61,8 @@ android {
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
- compile 'com.android.support:appcompat-v7:24.0.+'
- compile 'com.android.support:support-v4:24.0.+'
+ compile 'com.android.support:appcompat-v7:24.1.1'
+ compile 'com.android.support:support-v4:24.1.1'
compile 'com.google.android.gms:play-services:9.2.1'
compile 'com.android.support:multidex:1.0.1'
compile files('libs/commons-logging-1.1.1.jar')
diff --git a/LimeStudio/app/src/main/java/net/toload/main/hd/keyboard/LIMEKeyboard.java b/LimeStudio/app/src/main/java/net/toload/main/hd/keyboard/LIMEKeyboard.java
index 41101c3b..5598a554 100644
--- a/LimeStudio/app/src/main/java/net/toload/main/hd/keyboard/LIMEKeyboard.java
+++ b/LimeStudio/app/src/main/java/net/toload/main/hd/keyboard/LIMEKeyboard.java
@@ -92,7 +92,7 @@ public class LIMEKeyboard extends LIMEBaseKeyboard {
// Minimum width of space key preview (proportional to keyboard width)
private static final float SPACEBAR_POPUP_MIN_RATIO = 0.4f;
// Height in space key the language name will be drawn. (proportional to space key height)
- private static final float SPACEBAR_IMNAME_BASELINE = 0.5f;
+ private static final float SPACEBAR_IMNAME_BASELINE = 0.55f;
private static final int OPACITY_FULLY_OPAQUE = 255;
diff --git a/LimeStudio/app/src/main/java/net/toload/main/hd/keyboard/LIMEKeyboardBaseView.java b/LimeStudio/app/src/main/java/net/toload/main/hd/keyboard/LIMEKeyboardBaseView.java
index 53137715..cf3ddad1 100644
--- a/LimeStudio/app/src/main/java/net/toload/main/hd/keyboard/LIMEKeyboardBaseView.java
+++ b/LimeStudio/app/src/main/java/net/toload/main/hd/keyboard/LIMEKeyboardBaseView.java
@@ -338,18 +338,21 @@ public void handleMessage(Message msg) {
}
case MSG_SHOW_PREVIEW: {
if(DEBUG) Log.i(TAG, "handleMessage() MSG_SHOW_PREVIEW");
- mLIMEKeyboardBaseView.startKeyPreviewFadeInAnimation();
+ final PointerTracker tracker = (PointerTracker) msg.obj;
+ if(!tracker.isSpaceKey(msg.arg1))
+ mLIMEKeyboardBaseView.startKeyPreviewFadeInAnimation();
mLIMEKeyboardBaseView.mPreviewText.setVisibility(VISIBLE);
break;
}
}
}
- public void showPreview(long delay){
+ public void showPreview(long delay, int keyIndex, PointerTracker tracker){
if(DEBUG)
Log.i(TAG,"UIHandler.showPreview() delay = "+delay);
LIMEKeyboardBaseView mLIMEKeyboardBaseView = mLIMEKeyboardBaseViewWeakReference.get();
- sendMessageDelayed(obtainMessage(MSG_SHOW_PREVIEW),delay);
+ sendMessageDelayed(obtainMessage(MSG_SHOW_PREVIEW, keyIndex, 0, tracker), delay);
+
}
public void popupPreview(long delay, int keyIndex, PointerTracker tracker) {
if(DEBUG)
@@ -1318,8 +1321,9 @@ private void showKey(final int keyIndex, PointerTracker tracker) {
}
// Record popup preview position to display mini-keyboard later at the same positon
mPopupPreviewDisplayedY = popupPreviewY;
- //Jeremy '16, 7, 30 delay 5 second before show preview to avoid ghost image when moving last location to current.
- mHandler.showPreview(mDelayBeforePreview);
+ //Jeremy '16, 7, 30 Add delay before show preview to avoid ghost image when moving last location to current.
+
+ mHandler.showPreview(mDelayBeforePreview, keyIndex, tracker);
}
diff --git a/LimeStudio/app/src/main/res/values-large-land/dimens.xml b/LimeStudio/app/src/main/res/values-large-land/dimens.xml
index cd1bc7db..90004696 100644
--- a/LimeStudio/app/src/main/res/values-large-land/dimens.xml
+++ b/LimeStudio/app/src/main/res/values-large-land/dimens.xml
@@ -37,7 +37,7 @@
22dp
24dp
21sp
-
+
68dip
diff --git a/LimeStudio/app/src/main/res/values-large/dimens.xml b/LimeStudio/app/src/main/res/values-large/dimens.xml
index 3c34710e..39b28de4 100644
--- a/LimeStudio/app/src/main/res/values-large/dimens.xml
+++ b/LimeStudio/app/src/main/res/values-large/dimens.xml
@@ -32,7 +32,6 @@
15sp
12sp
135dp
- 4dip
0.06in
26dp
26dp
@@ -41,9 +40,11 @@
22sp
20sp
-0.05in
- 28sp
+ 0dp
+ 26sp
+ 20dp
-0.05in
- 14dip
+
92dip
diff --git a/LimeStudio/app/src/main/res/values/dimens.xml b/LimeStudio/app/src/main/res/values/dimens.xml
index 14ebe5cf..6d2ab8b4 100644
--- a/LimeStudio/app/src/main/res/values/dimens.xml
+++ b/LimeStudio/app/src/main/res/values/dimens.xml
@@ -35,6 +35,7 @@
58dip
46dip
4dip
+ 20dp
30sp
10sp
14sp
@@ -53,7 +54,6 @@
-46dip
0.553in
25sp
- 10dip
0dip
110dp
40sp