protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            this.IconOutcomePassed       = GetDrawable(this.m_iconFileNamePrefix + "outcome_passed.png");
            this.IconOutcomeError        = GetDrawable(this.m_iconFileNamePrefix + "outcome_error.png");
            this.IconOutcomeInconclusive = GetDrawable(this.m_iconFileNamePrefix + "outcome_inconclusive.png");

            LinearLayout mainLayout = new LinearLayout(this);

            mainLayout.Orientation = Orientation.Vertical;

            this.ResultBar = new ResultBarView(this);
            this.ResultBar.LayoutParameters = LayoutParams.ForLL(height: RESULT_BAR_HEIGHT);
            mainLayout.AddView(this.ResultBar);

            View mainView = CreateMainView();

            mainView.LayoutParameters = LayoutParams.ForLL();
            mainLayout.AddView(mainView);

            SetContentView(mainLayout);
        }
Ejemplo n.º 2
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

              this.IconOutcomePassed = GetDrawable(this.m_iconFileNamePrefix + "outcome_passed.png");
              this.IconOutcomeError = GetDrawable(this.m_iconFileNamePrefix + "outcome_error.png");
              this.IconOutcomeInconclusive = GetDrawable(this.m_iconFileNamePrefix + "outcome_inconclusive.png");

              LinearLayout mainLayout = new LinearLayout(this);
              mainLayout.Orientation = Orientation.Vertical;

              this.ResultBar = new ResultBarView(this);
              this.ResultBar.LayoutParameters = LayoutParams.ForLL(height: RESULT_BAR_HEIGHT);
              mainLayout.AddView(this.ResultBar);

              View mainView = CreateMainView();
              mainView.LayoutParameters = LayoutParams.ForLL();
              mainLayout.AddView(mainView);

              SetContentView(mainLayout);
        }