am 83be21a5: Fix emoji category page indicator height

* commit '83be21a56362dfe8768a4a6743e3e2ac4ea21076':
  Fix emoji category page indicator height
main
Tadashi G. Takaoka 2014-05-14 04:21:50 +00:00 committed by Android Git Automerger
commit 8212417993
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@
<integer name="config_gesture_trail_shadow_ratio">-1</integer>
<!-- Common configuration of Emoji keyboard -->
<dimen name="config_emoji_category_page_id_height">3dp</dimen>
<dimen name="config_emoji_category_page_id_height">2dp</dimen>
<!-- Inset used in Accessibility mode to avoid accidental key presses when a finger slides off the screen. -->
<dimen name="config_accessibility_edge_slop">8dp</dimen>

View File

@ -25,7 +25,7 @@ import android.util.AttributeSet;
import android.widget.LinearLayout;
public class EmojiCategoryPageIndicatorView extends LinearLayout {
private static final float BOTTOM_MARGIN_RATIO = 0.66f;
private static final float BOTTOM_MARGIN_RATIO = 1.0f;
private final Paint mPaint = new Paint();
private int mCategoryPageSize = 0;
private int mCurrentCategoryPageId = 0;