protected override void onCreate(Bundle savedInstanceState) { base.onCreate(savedInstanceState); var sv = new ScrollView(this); var ll = new LinearLayout(this); //ll.setOrientation(LinearLayout.VERTICAL); sv.addView(ll); var b = new Button(this).AttachTo(ll); b.WithText("popup"); b.AtClick( v => { XStandOutWindow.closeAll(this, typeof(XWidgetsWindow).ToClass()); XStandOutWindow.show(this, typeof(XWidgetsWindow).ToClass(), XStandOutWindow.DEFAULT_ID); this.finish(); } ); this.setContentView(sv); }
public override Intent getPersistentNotificationIntent(int id) { return(XStandOutWindow.getCloseIntent(this, GetType().ToClass(), id)); }