Skip to content
Snippets Groups Projects
Commit a9c1a3da authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Fix clipped important notice message on tablet

Bug: 13461039
Change-Id: I710bf10c9cbc202c7f6ee39ab4c8b9d699741a81
parent 1f69164f
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment