Merge "Increase gradient of suggestion bar" into gingerbread

main
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_width="wrap_content"
android:layout_height="@dimen/candidate_strip_height" android:layout_height="@dimen/candidate_strip_height"
android:layout_weight="1" android:layout_weight="1"
android:fadingEdge="horizontal"
android:fadingEdgeLength="@dimen/candidate_strip_fading_edge_length"
/> />
</LinearLayout> </LinearLayout>

View File

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

View File

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

View File

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