android.app.Activity.setContentView C# (CSharp) 메소드

setContentView() 공개 메소드

public setContentView ( android arg0, android arg1 ) : void
arg0 android
arg1 android
리턴 void
        public virtual void setContentView(android.view.View arg0, android.view.ViewGroup.LayoutParams arg1)
        {
            global::MonoJavaBridge.JavaBridge.CallVoidMethod(this, global::android.app.Activity.staticClass, "setContentView", "(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V", ref global::android.app.Activity._m45, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
        }

Same methods

Activity::setContentView ( android arg0 ) : void
Activity::setContentView ( int arg0 ) : void

Usage Example

        public static void AttachTo(this System.Windows.Forms.Control e, Activity Container)
        {
            var i = (__Control)(object)e;

            i.InternalSetContext(Container);

            var Child = i.InternalGetElement();

            Container.setContentView(Child);
        }
Activity