am a9c1a3da
: Fix clipped important notice message on tablet
* commit 'a9c1a3da63c83dd68424a0851079a55d110cc63a': Fix clipped important notice message on tablet
This commit is contained in:
commit
e6b0cf2a28
1 changed files with 2 additions and 1 deletions
|
@ -511,7 +511,8 @@ final class SuggestionStripLayoutHelper {
|
|||
final String importantNoticeTitle) {
|
||||
final TextView titleView = (TextView)importantNoticeStrip.findViewById(
|
||||
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.setText(importantNoticeTitle);
|
||||
titleView.setTextScaleX(1.0f); // Reset textScaleX.
|
||||
|
|
Loading…
Reference in a new issue