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); }
protected void RemoveDescription() => ContentView.FindViewById <DescriptionView>(Resource.Id.CellDescription)?.RemoveFromParent();
protected void RemoveTitle() => ContentView.FindViewById <TitleView>(Resource.Id.CellTitle)?.RemoveFromParent();
protected void RemoveIcon() => ContentView.FindViewById <IconView>(Resource.Id.CellIcon)?.RemoveFromParent();
protected void RemoveHint() => ContentView.FindViewById <HintView>(Resource.Id.CellHint)?.RemoveFromParent();
protected void RemoveCellValueStack() => ContentView.FindViewById <LinearLayout>(Resource.Id.CellValueStack)?.RemoveFromParent();
protected LinearLayout AccessoryStack() => ContentView.FindViewById <LinearLayout>(Resource.Id.CellAccessoryStack) ?? throw new NullReferenceException(nameof(Resource.Id.CellAccessoryStack));
private GridLayout Layout() => ContentView.FindViewById <GridLayout>(Resource.Id.CellLayout) ?? throw new NullReferenceException(nameof(Resource.Id.CellLayout));