Here is my layout:
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<SeekBar
android:id="@+id/seekBar1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
<TextView
android:id="@+id/textView1"
android:layout_width="fill_parent"
android:layout_height="60dip">
</TextView>
<SeekBar
android:id="@+id/seekBar2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
</LinearLayout>
I want to be able to move the two SeekBars (which I will be using as sliders) at the same time, each with a different finger but at the same time.
How would I achieve this?
You can react to touch events in your custom views and your activities. Android supports multiple pointers, e.g. fingers which are interacting with the screen. The base class for touch support is the MotionEvent class which is passed to Views via the onTouchEvent() method. you override the onTouchEvent() method.
setMultipleTouchEnabled(false); in the onCreate() method. This should disable multitouch, if it was correctly implemented in 3.14.
This may help (Splitting touches accross views)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With