Merge "Fix key preview backing view height"
This commit is contained in:
commit
92a83e74ec
2 changed files with 4 additions and 1 deletions
|
@ -87,7 +87,7 @@
|
|||
<fraction name="min_more_suggestions_width">90%</fraction>
|
||||
<fraction name="more_suggestions_info_ratio">18%</fraction>
|
||||
<!-- key_preview_backing_height = more_suggestions_row_height * max_more_suggestions_row -->
|
||||
<dimen name="key_preview_backing_height">160dip</dimen>
|
||||
<dimen name="key_preview_backing_height">240dip</dimen>
|
||||
<dimen name="suggestions_strip_padding">0dip</dimen>
|
||||
<dimen name="suggestion_min_width">44dip</dimen>
|
||||
<dimen name="suggestion_padding">6dip</dimen>
|
||||
|
|
|
@ -618,6 +618,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
|||
mSuggestionsView = (SuggestionsView) view.findViewById(R.id.suggestions_view);
|
||||
if (mSuggestionsView != null)
|
||||
mSuggestionsView.setListener(this, view);
|
||||
if (LatinImeLogger.sVISUALDEBUG) {
|
||||
mKeyPreviewBackingView.setBackgroundColor(0x10FF0000);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue