Merge commit '37a8c654a0cb9728451623dc1eed13ec9767b889' * commit '37a8c654a0cb9728451623dc1eed13ec9767b889': Increase gradient of suggestion bar
This commit is contained in:
commit
6fecf0796c
4 changed files with 4 additions and 1 deletions
|
@ -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>
|
||||||
|
|
|
@ -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 -->
|
||||||
|
|
|
@ -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. -->
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue