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

MoreNinePatchesActivity

public class MoreNinePatchesActivity 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, Gravity.CENTER));
        layout.addView(b);
        layout.setBackgroundColor(0xffffffff);
        
        setContentView(layout);