From 749b1eaaaac3a7d051e907c4ae5f07521b3e75a3 Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Thu, 16 Sep 2010 20:21:30 +0900 Subject: [PATCH] Increase gradient of suggestion bar bug: 3001007 Change-Id: I0f05d62b2a6848f37975b7a15b3ba14a90776d24 --- java/res/layout/candidates.xml | 2 ++ java/res/values-land/dimens.xml | 1 + java/res/values/dimens.xml | 1 + java/src/com/android/inputmethod/latin/CandidateView.java | 1 - 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/java/res/layout/candidates.xml b/java/res/layout/candidates.xml index 478e20ba1..b89d44290 100644 --- a/java/res/layout/candidates.xml +++ b/java/res/layout/candidates.xml @@ -31,6 +31,8 @@ android:layout_width="wrap_content" android:layout_height="@dimen/candidate_strip_height" android:layout_weight="1" + android:fadingEdge="horizontal" + android:fadingEdgeLength="@dimen/candidate_strip_fading_edge_length" /> diff --git a/java/res/values-land/dimens.xml b/java/res/values-land/dimens.xml index 4f87b79d2..ac0e030d4 100644 --- a/java/res/values-land/dimens.xml +++ b/java/res/values-land/dimens.xml @@ -21,6 +21,7 @@ 47dip 38dip + 63dip 2dip diff --git a/java/res/values/dimens.xml b/java/res/values/dimens.xml index af8b38110..b399af489 100644 --- a/java/res/values/dimens.xml +++ b/java/res/values/dimens.xml @@ -22,6 +22,7 @@ 54dip 22dip 42dip + 63dip 4dip diff --git a/java/src/com/android/inputmethod/latin/CandidateView.java b/java/src/com/android/inputmethod/latin/CandidateView.java index bd73c6fb8..b84417b43 100755 --- a/java/src/com/android/inputmethod/latin/CandidateView.java +++ b/java/src/com/android/inputmethod/latin/CandidateView.java @@ -186,7 +186,6 @@ public class CandidateView extends View { return true; } }); - setHorizontalFadingEdgeEnabled(true); setWillNotDraw(false); setHorizontalScrollBarEnabled(false); setVerticalScrollBarEnabled(false);