Fix comment of MeasuredText
Bug: N/A Test: make offline-sdk-docs Change-Id: If60cbf4ed05ec07ac0be24689ee01d0763ba9b31
This commit is contained in:
@@ -42,7 +42,7 @@ import libcore.util.NativeAllocationRegistry;
|
||||
* String text = "Hello, Android.";
|
||||
* MeasuredText mt = new MeasuredText.Builder(text.toCharArray())
|
||||
* .appendStyleRun(paint, 7, false) // Use paint for "Hello, "
|
||||
* .appendStyleRun(bigPaint, 8, false) // Use bigPaint for "Hello, "
|
||||
* .appendStyleRun(bigPaint, 8, false) // Use bigPaint for "Android."
|
||||
* .build();
|
||||
* </code>
|
||||
* </pre>
|
||||
|
||||
Reference in New Issue
Block a user