mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix clipped important notice message on tablet
Bug: 13461039 Change-Id: I710bf10c9cbc202c7f6ee39ab4c8b9d699741a81
This commit is contained in:
parent
1f69164f06
commit
a9c1a3da63
@ -511,7 +511,8 @@ final class SuggestionStripLayoutHelper {
|
|||||||
final String importantNoticeTitle) {
|
final String importantNoticeTitle) {
|
||||||
final TextView titleView = (TextView)importantNoticeStrip.findViewById(
|
final TextView titleView = (TextView)importantNoticeStrip.findViewById(
|
||||||
R.id.important_notice_title);
|
R.id.important_notice_title);
|
||||||
final int width = stripWidth - titleView.getPaddingLeft() - titleView.getPaddingRight();
|
final int width = titleView.getWidth() - titleView.getPaddingLeft()
|
||||||
|
- titleView.getPaddingRight();
|
||||||
titleView.setTextColor(mColorAutoCorrect);
|
titleView.setTextColor(mColorAutoCorrect);
|
||||||
titleView.setText(importantNoticeTitle);
|
titleView.setText(importantNoticeTitle);
|
||||||
titleView.setTextScaleX(1.0f); // Reset textScaleX.
|
titleView.setTextScaleX(1.0f); // Reset textScaleX.
|
||||||
|
Loading…
Reference in New Issue
Block a user