안에 버튼이 5 개 있습니다.두 개의 서로 다른 버튼을 동시에 터치하면 다른 버튼이 트리거됩니다. (가운데 하나)
내 문제가 & 오른쪽 대부분의 버튼 중동 버튼을 트리거 가장 왼쪽에 동시 터치입니다.
나는
android:splitMotionEvents="false"
android:windowEnableSplitTouch="false"
을 시도하고 불행하게도 아무것도 작동하지 않습니다. 어떻게해야합니까? . 내 XML 조각은 직접적인 해결책이 없을 경우, 어떤 해결 방법이
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:splitMotionEvents="false"
android:windowEnableSplitTouch="false" >
<Button
android:id="@+id/someText1"
style="@style/ButtonStyle"
android:layout_marginRight="10dp"
android:onClick="someText1"
android:text="someText1" />
<Button
android:id="@+id/someText2"
style="@style/ButtonStyle"
android:layout_marginRight="10dp"
android:enabled="false"
android:onClick="someText2"
android:text="someText2" />
<Button
android:id="@+id/someText3"
style="@style/ButtonStyle"
android:layout_marginRight="10dp"
android:onClick="someText3"
android:text="someText3" />
<Button
android:id="@+id/someText4"
style="@style/ButtonStyle"
android:layout_marginRight="10dp"
android:onClick="someText4"
android:text="someText4" />
<Button
android:id="@+id/someText5"
style="@style/ButtonStyle"
android:layout_marginRight="10dp"
android:onClick="someText5"
android:text="someText5" />
<Button
android:id="@+id/someText6"
style="@style/ButtonStyle"
android:onClick="someText6"
android:text="someText6" />
</LinearLayout>
입니까?
참고 : 나는 사전에 안드로이드 JellyBean4.1.2에 감사의
부지를하고 있어요.
의 작동 여부를그냥 내가 밀어 수는 없습니다 가정
button1.setOnCllickListener(onclicklistenerobject);
APK를 업로드 할 수 있습니까? –
발화 방법 * 동시 터치 * ?? 멀티 손가락 터치? –
예. 때때로 문제를 다시 생성하기가 어렵습니다. 문제를 다시 발생 시키려면 멀티 핑거를 사용하여 동시 터치 (때로는 비정상적인 터치)가 필요합니다. –