Esempio n. 1
0
 void SetStyling()
 {
     StyleUtil.InitLabelWithSpacing(TitleLbl, StyleUtil.FontType.FontBold, QuestionnaireCountriesViewModel.COUNTRY_QUESTIONAIRE_HEADER_TEXT, 1.14, 24, 38);
     StyleUtil.InitLabelWithSpacing(SubtitleLbl, StyleUtil.FontType.FontRegular, QuestionnaireCountriesViewModel.COUNTRY_QUESTIONAIRE_INFORMATION_TEXT, 1.28, 16, 20);
     StyleUtil.InitLabelWithSpacing(ListExplainLbl, StyleUtil.FontType.FontRegular, QuestionnaireCountriesViewModel.COUNTRY_QUESTIONAIRE_FOOTER, 1.28, 16, 20);
     NextBtn.SetTitle(QuestionnaireCountriesViewModel.COUNTRY_QUESTIONAIRE_BUTTON_TEXT, UIControlState.Normal);
     ButtonView.Alpha           = 0.9f;
     ButtonView.BackgroundColor = "#001F34".ToUIColor();
 }
Esempio n. 2
0
        void SetStyling()
        {
            DateContainer.Layer.CornerRadius = 8;

            DatePicker.Superview.Layer.CornerRadius = 12;
            DatePicker.MinimumDate = (NSDate)DateTime.SpecifyKind(_viewModel.MinimumDate, DateTimeKind.Utc);
            DatePicker.MaximumDate = (NSDate)DateTime.SpecifyKind(_viewModel.MaximumDate, DateTimeKind.Utc);

            NextBtn.SetTitle(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_NEXT, UIControlState.Normal);
        }
        void SetStyling()
        {
            DateContainer.Layer.CornerRadius = 8;
            DateContainer.BackgroundColor    = UIColor.Clear;
            DateContainer.Layer.BorderWidth  = 1;
            DateContainer.Layer.BorderColor  = ColorHelper.TEXT_COLOR_ON_BACKGROUND.CGColor;

            DatePicker.Superview.Layer.CornerRadius = 6;
            DatePicker.PreferredDatePickerStyle     = UIDatePickerStyle.Wheels;
            DatePicker.MinimumDate = (NSDate)DateTime.SpecifyKind(_viewModel.MinimumDate, DateTimeKind.Utc);
            DatePicker.MaximumDate = (NSDate)DateTime.SpecifyKind(_viewModel.MaximumDate, DateTimeKind.Utc);

            StyleUtil.InitButtonStyling(NextBtn, QuestionnaireViewModel.REGISTER_QUESTIONAIRE_NEXT);
            NextBtn.SetTitle(QuestionnaireViewModel.REGISTER_QUESTIONAIRE_NEXT, UIControlState.Normal);
        }