private void ShowAnim() { if (activity != null) { ViewGroup rootView = (ViewGroup)activity.FindViewById(Window.IdAndroidContent); shineView = new ShineView(activity, this, shineParams, RandomColourSelection); rootView.AddView(shineView, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MatchParent, ViewGroup.LayoutParams.MatchParent)); DoShareAnim(); } else { Log.Error(TAG, "Please init."); } }
public void StartAnim(ShineView shineView, int centerAnimX, int centerAnimY) { Start(); }