Example #1
0
        public override void OnStart()
        {
            _mErrorInAnim  = CreateExitAnimation();
            _mErrorXInAnim = (AnimationSet)AnimationUtils.LoadAnimation(Context, Resource.Animation.error_x_in);

            _mErrorX = (ImageView)ContentView.FindViewById(Resource.Id.error_top_x);

            ContentView.StartAnimation(_mErrorInAnim);
            _mErrorX.StartAnimation(_mErrorXInAnim);
        }
        public override void OnStart()
        {
            _mSuccessTick          = (SuccessTickView)ContentView.FindViewById(Resource.Id.success_top_tick);
            _mSuccessLeftMask      = ContentView.FindViewById(Resource.Id.success_top_mask_left);
            _mSuccessRightMask     = ContentView.FindViewById(Resource.Id.success_top_mask_right);
            _mSuccessLayoutAnimSet = (AnimationSet)AnimationUtils.LoadAnimation(Context, Resource.Animation.success_mask_layout);

            _mSuccessBowAnim = AnimationUtils.LoadAnimation(Context, Resource.Animation.success_bow_roate);
            _mSuccessLeftMask.StartAnimation(_mSuccessLayoutAnimSet.Animations[0]);
            _mSuccessRightMask.StartAnimation(_mSuccessLayoutAnimSet.Animations[1]);

            _mSuccessTick.StartTickAnim();
            _mSuccessRightMask.StartAnimation(_mSuccessBowAnim);
        }
Example #3
0
 protected void RemoveDescription() => ContentView.FindViewById <DescriptionView>(Resource.Id.CellDescription)?.RemoveFromParent();
Example #4
0
 protected void RemoveTitle() => ContentView.FindViewById <TitleView>(Resource.Id.CellTitle)?.RemoveFromParent();
Example #5
0
 protected void RemoveIcon() => ContentView.FindViewById <IconView>(Resource.Id.CellIcon)?.RemoveFromParent();
Example #6
0
 protected void RemoveHint() => ContentView.FindViewById <HintView>(Resource.Id.CellHint)?.RemoveFromParent();
Example #7
0
 protected void RemoveCellValueStack() => ContentView.FindViewById <LinearLayout>(Resource.Id.CellValueStack)?.RemoveFromParent();
Example #8
0
 protected LinearLayout AccessoryStack() => ContentView.FindViewById <LinearLayout>(Resource.Id.CellAccessoryStack) ?? throw new NullReferenceException(nameof(Resource.Id.CellAccessoryStack));
Example #9
0
 private GridLayout Layout() => ContentView.FindViewById <GridLayout>(Resource.Id.CellLayout) ?? throw new NullReferenceException(nameof(Resource.Id.CellLayout));