FileDocCategorySizeDatePackage
MenuWith1Item.javaAPI DocAndroid 5.1 API1165Thu Mar 12 22:22:12 GMT 2015android.view.menu

MenuWith1Item

public class MenuWith1Item extends MenuScenario

Fields Summary
private android.widget.Button
mButton
Constructors Summary
Methods Summary
public android.widget.ButtongetButton()

        return mButton;
    
protected voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);

        mButton  = new Button(this);
        setContentView(mButton);
    
protected voidonInitParams(Params params)

        super.onInitParams(params);
        
        params.setNumItems(1);