public void showAnim() { if (activity != null) { ViewGroup rootView = (ViewGroup)activity.FindViewById(Window.IdAndroidContent); shineView = new ShineView(activity, this, shineParams); 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(); }