Пример #1
0
            public void OnClick(View v)
            {
                SatelliteMenu menu = menuRef;

                if (menu != null)
                {
                    SatelliteMenuItem menuItem = menu.getViewToItemMap()[v];

                    v.StartAnimation(menuItem.getClickAnimation());
                }
            }
Пример #2
0
 public void OnAnimationStart(Animation animation)
 {
     if (viewRef != null)
     {
         View view = viewRef;
         if (view != null)
         {
             SatelliteMenuItem menuItem = viewToItemDic[view];
             if (isInAnimation)
             {
                 menuItem.getView().Visibility      = ViewStates.Visible;
                 menuItem.getCloneView().Visibility = ViewStates.Gone;
             }
             else
             {
                 menuItem.getCloneView().Visibility = ViewStates.Gone;
                 menuItem.getView().Visibility      = ViewStates.Visible;
             }
         }
     }
 }