Fix key preview backing view height
Bug: 5344344 Change-Id: Ied0cda2c4b822b391ece54a6880fae8e349cc0bcmain
parent
51e3e4d801
commit
f5fe245df0
|
@ -87,7 +87,7 @@
|
||||||
<fraction name="min_more_suggestions_width">90%</fraction>
|
<fraction name="min_more_suggestions_width">90%</fraction>
|
||||||
<fraction name="more_suggestions_info_ratio">18%</fraction>
|
<fraction name="more_suggestions_info_ratio">18%</fraction>
|
||||||
<!-- key_preview_backing_height = more_suggestions_row_height * max_more_suggestions_row -->
|
<!-- 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="suggestions_strip_padding">0dip</dimen>
|
||||||
<dimen name="suggestion_min_width">44dip</dimen>
|
<dimen name="suggestion_min_width">44dip</dimen>
|
||||||
<dimen name="suggestion_padding">6dip</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);
|
mSuggestionsView = (SuggestionsView) view.findViewById(R.id.suggestions_view);
|
||||||
if (mSuggestionsView != null)
|
if (mSuggestionsView != null)
|
||||||
mSuggestionsView.setListener(this, view);
|
mSuggestionsView.setListener(this, view);
|
||||||
|
if (LatinImeLogger.sVISUALDEBUG) {
|
||||||
|
mKeyPreviewBackingView.setBackgroundColor(0x10FF0000);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue