示例#1
0
 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.");
     }
 }
示例#2
0
 public void startAnim(ShineView shineView, int centerAnimX, int centerAnimY)
 {
     Start();
 }