Android 如何制作JB camera中的控制盘菜单

Android 如何制作JB camera中的控制盘菜单,android,Android,我的应用程序中有一个按钮,当有人按下按钮并按住手指时,弹出的滚轮菜单应该会像JB相机的菜单一样出现 看起来像这样 中间会有一个按钮,当你的手指向下时,轮子会出现,当你抬起它时,它会消失 我将用这段代码使轮子出现 b.setOnTouchListener(new View.OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { switch (event.get

我的应用程序中有一个按钮,当有人按下按钮并按住手指时,弹出的滚轮菜单应该会像JB相机的菜单一样出现

看起来像这样

中间会有一个按钮,当你的手指向下时,轮子会出现,当你抬起它时,它会消失

我将用这段代码使轮子出现

b.setOnTouchListener(new View.OnTouchListener() {

        public boolean onTouch(View v, MotionEvent event) {
                switch (event.getAction()) {


                  case MotionEvent.ACTION_UP: 
                        wheel.setVisibility(View.INVISIBLE);
                        Log.w("app", "Action up");
                        return true;
                  case MotionEvent.ACTION_DOWN: 
                        wheel.setVisibility(View.VISIBLE);
                        Log.w("app", "Action down");
                  }
                return false;
            }
        });
现在我有一个问题,我如何定位车轮的按钮?我不想使用整个轮子的图像,我宁愿只输出一个,因为它们看起来都很像

此外,在轮子出现后,我想通过将手指举到其中一个选项上方,并采取行动来选择其中一个选项。我如何才能做到这一点