-1
私はGLSurfaceView
アンドロイドに最前ボタンを表示するには?
を使用して、私は私のbutton
が
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="my package">
<Button
android:layout_width="100dp"
android:layout_height="50dp"
android:text="back button"
android:id="@+id/btn_previous"
android:layout_alignParentBottom="false"
android:layout_marginBottom="45dp"
android:layout_alignParentTop="true"/>
<android.opengl.GLSurfaceView
android:id="@+id/glview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"/>
</RelativeLayout>
GLSurfaceView
の前で、私のxml Button
を示していないこのソースを表示します。私は私のために
おかげでアドバイスをしてくださいGLSurfaceView
の後ろだと思います。