Merge "Use HYPHENATION_FREQUENCY_FULL_FAST" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5d975e69bc
@@ -82,7 +82,7 @@ public class ImageFloatingTextView extends TextView {
|
|||||||
.setIncludePad(getIncludeFontPadding())
|
.setIncludePad(getIncludeFontPadding())
|
||||||
.setUseLineSpacingFromFallbacks(true)
|
.setUseLineSpacingFromFallbacks(true)
|
||||||
.setBreakStrategy(Layout.BREAK_STRATEGY_HIGH_QUALITY)
|
.setBreakStrategy(Layout.BREAK_STRATEGY_HIGH_QUALITY)
|
||||||
.setHyphenationFrequency(Layout.HYPHENATION_FREQUENCY_FULL);
|
.setHyphenationFrequency(Layout.HYPHENATION_FREQUENCY_FULL_FAST);
|
||||||
int maxLines;
|
int maxLines;
|
||||||
if (mMaxLinesForHeight > 0) {
|
if (mMaxLinesForHeight > 0) {
|
||||||
maxLines = mMaxLinesForHeight;
|
maxLines = mMaxLinesForHeight;
|
||||||
|
|||||||
Reference in New Issue
Block a user