Merge "Increase gradient of suggestion bar" into gingerbread

This commit is contained in:
Ken Wakasa 2010-09-16 04:41:04 -07:00 committed by Android (Google) Code Review
commit 809bef520b
4 changed files with 4 additions and 1 deletions

View file

@ -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"
/>
</LinearLayout>

View file

@ -21,6 +21,7 @@
<resources>
<dimen name="key_height">47dip</dimen>
<dimen name="candidate_strip_height">38dip</dimen>
<dimen name="candidate_strip_fading_edge_length">63dip</dimen>
<dimen name="spacebar_vertical_correction">2dip</dimen>
<!-- Amount of allowance for selecting keys in a mini popup keyboard by sliding finger. -->
<!-- key_height * 1.7 -->

View file

@ -22,6 +22,7 @@
<dimen name="key_height">54dip</dimen>
<dimen name="bubble_pointer_offset">22dip</dimen>
<dimen name="candidate_strip_height">42dip</dimen>
<dimen name="candidate_strip_fading_edge_length">63dip</dimen>
<dimen name="spacebar_vertical_correction">4dip</dimen>
<!-- If the screen height in landscape is larger than the below value, then the keyboard
will not go into extract (fullscreen) mode. -->

View file

@ -186,7 +186,6 @@ public class CandidateView extends View {
return true;
}
});
setHorizontalFadingEdgeEnabled(true);
setWillNotDraw(false);
setHorizontalScrollBarEnabled(false);
setVerticalScrollBarEnabled(false);