我有一个Point和一个Area,我想定义一个Point start&留在区域,我正在使用加速度计,这怎么可能?
两者都是ImageViews。
//ImageView Bubble
b_bubble = (ImageView) findViewById(R.id.bubble);
ImageView v = (ImageView) findViewById(R.id.bubble);
v.setImageResource(R.drawable.ic_bubble);
//ImageView Bullseye
b_bullseye = (ImageView) findViewById(R.id.bullseye);
ImageView b = (ImageView) findViewById(R.id.bullseye);
b.setImageResource(R.drawable.bullseye);