次のように提示できる問題があります。RelativeLayout画面がいっぱいになり、その中にButton. このレイアウトの下に別のレイアウトがありますButton(これはレイヤー構造のようなものです)。
<Button android:layout_marginLeft="133dp" id="button_single"/>
<RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent">
<Button id="button_inside"/>
</RelativeLayout>
ボタンを押し続けるbutton_insideと、レイアウトにフォーカスが移るため、button_singleクリックできなくなります。
レイアウトのフォーカス可能機能を無効にするにはどうすればよいですか?
前もって感謝します
注:実際には、私のプロジェクトでは、button_single がGLSurfaceView画面いっぱいになっていますが、問題は同じです。