Fix emoji category page indicator height

Bug: 14419121
Change-Id: I67f2072c67c2c4da0e5ac21a90f5cc7313f70f59
main
Tadashi G. Takaoka 2014-05-14 12:35:40 +09:00
parent 161fa05d03
commit 83be21a563
2 changed files with 2 additions and 2 deletions

View File

@ -133,7 +133,7 @@
<integer name="config_gesture_trail_shadow_ratio">-1</integer> <integer name="config_gesture_trail_shadow_ratio">-1</integer>
<!-- Common configuration of Emoji keyboard --> <!-- 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. --> <!-- 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> <dimen name="config_accessibility_edge_slop">8dp</dimen>

View File

@ -25,7 +25,7 @@ import android.util.AttributeSet;
import android.widget.LinearLayout; import android.widget.LinearLayout;
public class EmojiCategoryPageIndicatorView extends 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 final Paint mPaint = new Paint();
private int mCategoryPageSize = 0; private int mCategoryPageSize = 0;
private int mCurrentCategoryPageId = 0; private int mCurrentCategoryPageId = 0;