Android - Button OnTouch event change focus of Button
<p>I have an App with 10 Buttons. Everytime the User presses on one Button A TextView should change. And if the User changes the focus and ,oves its finger to right, to the next button(without taking the finger off the screen) the seond button should be focused. </p>

<p>I tried it with setting an OnTouchListner to all buttons, but once the finger is moved the focus still stays on the first button:</p>

<pre><code>btn1.setOnTouchListener(new View.OnTouchListener() {

            public boolean onTouch(View v, MotionEvent event) {
                // TODO Auto-generated method stub
                txt1.settext("1");
                return false;
            }
        });
</code></pre>

<p>I hope you understood what I mean and can help me with this.</p>

<p>Thanks</p>

<p>Edit:</p>

<p>I found an Application which does that, here is a Video, so you can visualise what I mean.
Notice how I move the mouse(the finger in this case) and the Boxes change its focus:</p>

<p><a href="http://www.youtube.com/watch?v=MRVFpNrBmsA&amp;feature=youtu.be" rel="nofollow">http://www.youtube.com/watch?v=MRVFpNrBmsA&amp;feature=youtu.be</a></p>
