Beispiel #1
0
        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;
        }
Beispiel #2
0
        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;
        }