public AndroidCipherCell(Context context, CipherViewCell cipherView, Typeface faTypeface, Typeface miTypeface)
            : base(context)
        {
            CipherViewCell = cipherView;
            _faTypeface    = faTypeface;
            _miTypeface    = miTypeface;

            var view = (context as Activity).LayoutInflater.Inflate(Resource.Layout.CipherViewCell, null);

            IconImage         = view.FindViewById <IconImageView>(Resource.Id.CipherCellIconImage);
            Icon              = view.FindViewById <TextView>(Resource.Id.CipherCellIcon);
            Name              = view.FindViewById <TextView>(Resource.Id.CipherCellName);
            SubTitle          = view.FindViewById <TextView>(Resource.Id.CipherCellSubTitle);
            SharedIcon        = view.FindViewById <TextView>(Resource.Id.CipherCellSharedIcon);
            AttachmentsIcon   = view.FindViewById <TextView>(Resource.Id.CipherCellAttachmentsIcon);
            MoreButton        = view.FindViewById <Android.Widget.Button>(Resource.Id.CipherCellButton);
            MoreButton.Click += MoreButton_Click;

            Icon.Typeface            = _faTypeface;
            SharedIcon.Typeface      = _faTypeface;
            AttachmentsIcon.Typeface = _faTypeface;
            MoreButton.Typeface      = _miTypeface;

            var small = (float)Device.GetNamedSize(NamedSize.Small, typeof(Label));

            Icon.SetTextSize(ComplexUnitType.Sp, 22.0952380952381F);
            Name.SetTextSize(ComplexUnitType.Sp, (float)Device.GetNamedSize(NamedSize.Medium, typeof(Label)));
            SubTitle.SetTextSize(ComplexUnitType.Sp, small);
            SharedIcon.SetTextSize(ComplexUnitType.Sp, small);
            AttachmentsIcon.SetTextSize(ComplexUnitType.Sp, small);
            MoreButton.SetTextSize(ComplexUnitType.Sp, 25);

            AddView(view);
        }
 public void UpdateColors(Android.Graphics.Color textColor, Android.Graphics.Color mutedColor,
                          Android.Graphics.Color iconDisabledColor)
 {
     Name.SetTextColor(textColor);
     SubTitle.SetTextColor(mutedColor);
     Icon.SetTextColor(mutedColor);
     SharedIcon.SetTextColor(mutedColor);
     AttachmentsIcon.SetTextColor(mutedColor);
     MoreButton.SetTextColor(iconDisabledColor);
 }