예제 #1
0
파일: ArcMenu.cs 프로젝트: veresbogdan/MMD
        private void init(Context context)
        {
            LayoutInflater li = (LayoutInflater)context.GetSystemService(Context.LayoutInflaterService);

            li.Inflate(Resource.Layout.arc_menu, this);

            mHintView  = FindViewById <ImageView>(Resource.Id.control_hint);
            mArcLayout = FindViewById <ArcLayout>(Resource.Id.item_layout);

            ViewGroup controlLayout = FindViewById <ViewGroup>(Resource.Id.control_layout);

            controlLayout.SetOnTouchListener(new OnTouchListener(mArcLayout, mHintView));
            controlLayout.Clickable = true;
        }
예제 #2
0
파일: ArcMenu.cs 프로젝트: veresbogdan/MMD
        private void init(Context context)
        {
            LayoutInflater li = (LayoutInflater)context.GetSystemService(Context.LayoutInflaterService);
            li.Inflate(Resource.Layout.arc_menu, this);

            mHintView = FindViewById<ImageView>(Resource.Id.control_hint);
            mArcLayout = FindViewById<ArcLayout>(Resource.Id.item_layout);

            ViewGroup controlLayout = FindViewById<ViewGroup>(Resource.Id.control_layout);
            controlLayout.SetOnTouchListener(new OnTouchListener(mArcLayout, mHintView));
            controlLayout.Clickable = true;
        }