TextLayoutTestpublic class TextLayoutTest extends TestCase
Fields Summary |
---|
protected String | mString | protected android.text.TextPaint | mPaint |
Methods Summary |
---|
protected void | setUp()
super.setUp();
mString = "The quick brown fox";
mPaint = new TextPaint();
| public void | testDynamicLayoutTest()
Layout l = new DynamicLayout(mString, mPaint, 200,
Layout.Alignment.ALIGN_NORMAL, 1, 0,
true);
| public void | testStaticLayout()
Layout l = new StaticLayout(mString, mPaint, 200,
Layout.Alignment.ALIGN_NORMAL, 1, 0,
true);
|
|