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

ThinPatchesActivity

public class ThinPatchesActivity extends android.app.Activity

Fields Summary
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);
        
        FrameLayout layout = new FrameLayout(this);
        PatchView b = new PatchView(this);
        b.setLayoutParams(new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT,
                FrameLayout.LayoutParams.MATCH_PARENT));
        layout.addView(b);
        layout.setBackgroundColor(0xffffffff);
        
        setContentView(layout);