Ejemplo n.º 1
0
 public void SetCurrentPriceImg(IImageViewTheme theme)
 {
     Application.SynchronizationContext.Post(_ =>
     {
         _holder.ArrowImageView.SetTheme(theme);
     }, null);
 }
Ejemplo n.º 2
0
 public void SetLogoImageViewTheme(IImageViewTheme theme)
 {
     (Context as Activity)?.RunOnUiThread(() =>
     {
         _holder.LogoImageView.SetTheme(theme);
     });
 }
Ejemplo n.º 3
0
 public void SetFeatureImageTheme(IImageViewTheme themeName)
 {
     (Context as Activity)?.RunOnUiThread(() =>
     {
         _holder.FeatureImageView.SetTheme(themeName);
     });
 }
Ejemplo n.º 4
0
 public void SetImageTheme(IImageViewTheme theme)
 {
     InvokeOnMainThread(() =>
     {
         _backgroundView.SetTheme((IViewTheme)theme);
     });
 }
Ejemplo n.º 5
0
 public void SetAvatarTheme(IImageViewTheme theme)
 {
     InvokeOnMainThread(() =>
     {
         _avatarImageView.SetTheme(theme);
     });
 }
Ejemplo n.º 6
0
 public void SetViewTheme(IImageViewTheme theme)
 {
     InvokeOnMainThread(() =>
     {
         _rootView.SetTheme((IViewTheme)theme);
     });
 }
Ejemplo n.º 7
0
 public void SetLogoImageViewTheme(IImageViewTheme backgroundImage)
 {
     InvokeOnMainThread(() =>
     {
         _logoImage.SetTheme(backgroundImage);
     });
 }
Ejemplo n.º 8
0
 public void SetStateOnline(IImageViewTheme theme)
 {
     InvokeOnMainThread(() =>
     {
         _statusUserImageView.SetTheme(theme);
     });
 }
Ejemplo n.º 9
0
 public void SetLogoImageViewTheme(IImageViewTheme theme)
 {
     InvokeOnMainThread(() =>
     {
         _logoImage.SetTheme(theme);
     });
 }
Ejemplo n.º 10
0
 public void SetCurrentPriceImg(IImageViewTheme theme)
 {
     InvokeOnMainThread(() =>
     {
         _diffImageButton.SetTheme(theme);
     });
 }
 public void SetFeatureImageTheme(IImageViewTheme themeName)
 {
     InvokeOnMainThread(() =>
     {
         _featureImage.SetTheme(themeName);
     });
 }
Ejemplo n.º 12
0
 public void SetDefaultAvatar(IImageViewTheme theme)
 {
     InvokeOnMainThread(() =>
     {
         _avatarButton.SetTheme(theme);
     });
 }
Ejemplo n.º 13
0
 public void SetAvatarTheme(IImageViewTheme theme)
 {
     Application.SynchronizationContext.Post(_ =>
     {
         _holder.AvatarImageView.SetTheme(theme);
     }, null);
 }
Ejemplo n.º 14
0
 public void SetViewTheme(IImageViewTheme themeName)
 {
     (Context as Activity)?.RunOnUiThread(() =>
     {
         _holder.BackgroundImageView.SetTheme(themeName);
     });
 }
Ejemplo n.º 15
0
 public void SetStateOnline(IImageViewTheme theme)
 {
     Application.SynchronizationContext.Post(_ =>
     {
         _holder.StatusImageView.SetTheme(theme);
     }, null);
 }
Ejemplo n.º 16
0
 public void SetRecommendBuySellImage(IImageViewTheme theme)
 {
     InvokeOnMainThread(() =>
     {
         _buySellImageView.SetTheme(theme);
         _buySellView.SetTheme((IViewTheme)theme);
     });
 }
Ejemplo n.º 17
0
 public void SetRecommendBuySellImage(IImageViewTheme theme)
 {
     Application.SynchronizationContext.Post(_ =>
     {
         _holder.BuySellImageView.SetTheme(theme);
         _holder.BuySellLayout.SetTheme((IViewTheme)theme);
     }, null);
 }
Ejemplo n.º 18
0
        public static void SetTheme(this UIImageView imageView, IImageViewTheme theme)
        {
            SetTheme((UIView)imageView, (IViewTheme)theme);

            if (theme.Image != null)
            {
                imageView.Image = (UIImage)theme.Image;
            }
        }
Ejemplo n.º 19
0
        public void SetImageTheme(IImageViewTheme theme)
        {
            _holder.OptionImageView.SetTheme(theme);
            GradientDrawable shape = new GradientDrawable();

            shape.SetColor((Color)theme.BackgroundColor);
            shape.SetCornerRadius(1000);
            _holder.OptionImageView.Background = shape;
        }
Ejemplo n.º 20
0
        public static void SetTheme(this ImageView imageView, IImageViewTheme theme)
        {
            SetTheme((View)imageView, (IViewTheme)theme);

            if (theme.Image != null)
            {
                imageView.SetImageDrawable((Drawable)theme.Image);
            }
        }
Ejemplo n.º 21
0
        public static void SetTheme(this UIButton button, IImageViewTheme theme)
        {
            SetTheme((UIView)button, (IViewTheme)theme);
            SetTheme(button, (IButtonTheme)theme);

            if (theme.Image != null)
            {
                button.SetBackgroundImage((UIImage)theme.Image, UIControlState.Normal);
            }
        }
 public RegEmailStylesHolderDroid(ThemeParser <T> themeParser)
 {
     HeaderLabelTheme   = themeParser.GetThemeByName <ITextViewTheme>(_headerLabelTheme);
     EmailLabelTheme    = themeParser.GetThemeByName <ITextViewTheme>(_emailLabelTheme);
     NextButtonTheme    = themeParser.GetThemeByName <IButtonTheme>(_nextButtonTheme);
     BackButtonTheme    = themeParser.GetThemeByName <IImageButtonTheme>(_backButtonTheme);
     ViewTheme          = themeParser.GetThemeByName <IImageViewTheme>(_viewTheme);
     LogoImageViewTheme = themeParser.GetThemeByName <IImageViewTheme>(_logoImageViewTheme);
     EmailEditTextTheme = themeParser.GetThemeByName <IEditTextTheme>(_emailEditTextTheme);
     EmailStateSuccess  = themeParser.GetThemeByName <IEditTextTheme>(_emailStateSuccess);
     EmailStateFail     = themeParser.GetThemeByName <IEditTextTheme>(_emailStateFail);
     FeatureTextTheme   = themeParser.GetThemeByName <ITextViewTheme>(_featureTextTheme);
     FeatureImageTheme  = themeParser.GetThemeByName <IImageViewTheme>(_featureImageTheme);
 }
Ejemplo n.º 23
0
 public RegNameStylesHolderIOS(ThemeParser <T> themeParser)
 {
     HeaderLabelTheme      = themeParser.GetThemeByName <ITextViewTheme>(_headerLabelTheme);
     NameLabelTheme        = themeParser.GetThemeByName <ITextViewTheme>(_nameLabelTheme);
     LastNameLabelTheme    = themeParser.GetThemeByName <ITextViewTheme>(_lastNameLabelTheme);
     NextButtonTheme       = themeParser.GetThemeByName <IButtonTheme>(_nextButtonTheme);
     BackButtonTheme       = themeParser.GetThemeByName <IImageButtonTheme>(_backButtonTheme);
     ViewTheme             = themeParser.GetThemeByName <IImageViewTheme>(_viewTheme);
     LogoImageViewTheme    = themeParser.GetThemeByName <IImageViewTheme>(_logoImageViewTheme);
     NameEditTextTheme     = themeParser.GetThemeByName <IEditTextTheme>(_nameEditTextTheme);
     NameStateSuccess      = themeParser.GetThemeByName <IEditTextTheme>(_nameStateSuccess);
     NameStateFail         = themeParser.GetThemeByName <IEditTextTheme>(_nameStateFail);
     LastNameEditTextTheme = themeParser.GetThemeByName <IEditTextTheme>(_lastNameEditTextTheme);
     LastNameStateSuccess  = themeParser.GetThemeByName <IEditTextTheme>(_lastNameStateSuccess);
     LastNameStateFail     = themeParser.GetThemeByName <IEditTextTheme>(_lastNameStateFail);
     FeatureTextTheme      = themeParser.GetThemeByName <ITextViewTheme>(_featureTextTheme);
     FeatureImageTheme     = themeParser.GetThemeByName <IImageViewTheme>(_featureImageTheme);
 }
Ejemplo n.º 24
0
 public RegPhoneStylesHolderIOS(ThemeParser <T> themeParser)
 {
     HeaderLabelTheme       = themeParser.GetThemeByName <ITextViewTheme>(_headerLabelTheme);
     PhoneCountryLabelTheme = themeParser.GetThemeByName <ITextViewTheme>(_phoneCountryLabelTheme);
     PhoneNumberLabelTheme  = themeParser.GetThemeByName <ITextViewTheme>(_phoneNumberLabelTheme);
     NextButtonTheme        = themeParser.GetThemeByName <IButtonTheme>(_nextButtonTheme);
     SkipButtonTheme        = themeParser.GetThemeByName <IButtonTheme>(_skipButtonTheme);
     BackButtonTheme        = themeParser.GetThemeByName <IImageButtonTheme>(_backButtonTheme);
     ViewTheme                 = themeParser.GetThemeByName <IImageViewTheme>(_viewTheme);
     LogoImageViewTheme        = themeParser.GetThemeByName <IImageViewTheme>(_logoImageViewTheme);
     PhoneCountryEditTextTheme = themeParser.GetThemeByName <IEditTextTheme>(_phoneCountryEditTextTheme);
     PhoneCountryStateSuccess  = themeParser.GetThemeByName <IEditTextTheme>(_phoneCountryStateSuccess);
     PhoneCountryStateFail     = themeParser.GetThemeByName <IEditTextTheme>(_phoneCountryStateFail);
     PhoneNumberEditTextTheme  = themeParser.GetThemeByName <IEditTextTheme>(_phoneNumberEditTextTheme);
     PhoneNumberStateSuccess   = themeParser.GetThemeByName <IEditTextTheme>(_phoneNumberStateSuccess);
     PhoneNumberStateFail      = themeParser.GetThemeByName <IEditTextTheme>(_phoneNumberStateFail);
     FeatureTextTheme          = themeParser.GetThemeByName <ITextViewTheme>(_featureTextTheme);
     FeatureImageTheme         = themeParser.GetThemeByName <IImageViewTheme>(_featureImageTheme);
 }
Ejemplo n.º 25
0
 public RegPassStylesHolderDroid(ThemeParser <T> themeParser)
 {
     HeaderLabelTheme          = themeParser.GetThemeByName <ITextViewTheme>(_headerLabelTheme);
     PasswordLabelTheme        = themeParser.GetThemeByName <ITextViewTheme>(_passwordLabelTheme);
     ConfirmPasswordLabelTheme = themeParser.GetThemeByName <ITextViewTheme>(_confirmPasswordLabelTheme);
     RegButtonTheme            = themeParser.GetThemeByName <IButtonTheme>(_regButtonTheme);
     BackButtonTheme           = themeParser.GetThemeByName <IImageButtonTheme>(_backButtonTheme);
     ViewTheme                        = themeParser.GetThemeByName <IImageViewTheme>(_viewTheme);
     LogoImageViewTheme               = themeParser.GetThemeByName <IImageViewTheme>(_logoImageViewTheme);
     PasswordEditTextTheme            = themeParser.GetThemeByName <IEditTextTheme>(_passwordEditTextTheme);
     PasswordStateSuccess             = themeParser.GetThemeByName <IEditTextTheme>(_passwordStateSuccess);
     PasswordStateFail                = themeParser.GetThemeByName <IEditTextTheme>(_passwordStateFail);
     PasswordConfirmEditTextTheme     = themeParser.GetThemeByName <IEditTextTheme>(_passwordConfirmEditTextTheme);
     PasswordConfirmStateSuccess      = themeParser.GetThemeByName <IEditTextTheme>(_passwordConfirmStateSuccess);
     PasswordConfirmStatePassNotMatch = themeParser.GetThemeByName <IEditTextTheme>(_passwordConfirmStatePassNotMatch);
     PasswordConfirmStateFail         = themeParser.GetThemeByName <IEditTextTheme>(_passwordConfirmStateFail);
     UserAgreementMainTextTheme       = themeParser.GetThemeByName <IButtonTheme>(_userAgreementMainTextTheme);
     UserAgreementAttrTextTheme       = themeParser.GetThemeByName <IButtonTheme>(_userAgreementAttrTextTheme);
     FeatureTextTheme                 = themeParser.GetThemeByName <ITextViewTheme>(_featureTextTheme);
     FeatureImageTheme                = themeParser.GetThemeByName <IImageViewTheme>(_featureImageTheme);
 }
Ejemplo n.º 26
0
 public void SetFeatureImageTheme(IImageViewTheme themeName)
 {
     _featureImage.SetTheme(themeName);
 }
Ejemplo n.º 27
0
 public void SetLogoImageViewTheme(IImageViewTheme themeName)
 {
     _logoImage.SetTheme(themeName);
 }
Ejemplo n.º 28
0
 public void SetViewTheme(IImageViewTheme themeName)
 {
     _rootView.SetTheme((IViewTheme)themeName);
 }
Ejemplo n.º 29
0
 public void SetRecommendBuySellImage(IImageViewTheme theme)
 {
 }
Ejemplo n.º 30
0
 public void SetCurrentPriceImg(IImageViewTheme theme)
 {
 }