diff --git a/res/values-sw720dp/dimens.xml b/res/values-sw720dp/dimens.xml index d7a5881729..2b0382d2c4 100644 --- a/res/values-sw720dp/dimens.xml +++ b/res/values-sw720dp/dimens.xml @@ -26,7 +26,7 @@ 20sp 72dp 24dp - 20dp + 8dp 32dp 32dp 110dp diff --git a/src/com/android/launcher3/ButtonDropTarget.java b/src/com/android/launcher3/ButtonDropTarget.java index 376cab76d9..e653283674 100644 --- a/src/com/android/launcher3/ButtonDropTarget.java +++ b/src/com/android/launcher3/ButtonDropTarget.java @@ -416,7 +416,7 @@ public abstract class ButtonDropTarget extends TextView getPaint().getTextBounds(mText.toString(), 0, mText.length(), mTempRect); // Add bounds bottom to height, as text bounds height measures from the text baseline and // above, which characters can descend below - return mTempRect.bottom + mTempRect.height() <= availableHeight; + return mTempRect.bottom + mTempRect.height() >= availableHeight; } /**