FileDocCategorySizeDatePackage
ClipRegion2Activity.javaAPI DocAndroid 5.1 API3022Thu Mar 12 22:22:44 GMT 2015com.android.test.hwui

ClipRegion2Activity

public class ClipRegion2Activity extends android.app.Activity

Fields Summary
private static final String
LOREM_IPSUM
Constructors Summary
Methods Summary
private static java.lang.CharSequencebuildText()

        StringBuffer buffer = new StringBuffer();
        for (int i = 0; i < 10; i++) {
            buffer.append(LOREM_IPSUM);
        }
        return buffer;
    
protected voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);

        final RegionView group = new RegionView(this);

        final TextView text = new TextView(this);
        text.setText(buildText());
        group.addView(text);

        setContentView(group);