상대 레이아웃 안에 상대 레이아웃 안에 상대적 레이아웃이 있습니다. 이미지 뷰와 glsurface가 그 위에 쌓여 있고, glsurface가 imageview와 동일한 크기를 갖고 싶습니다. 어떻게이 작업을 수행합니까 ??안드로이드 상대 레이아웃 어린이 크기
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<com.zibi.ResizableImageView
android:id="@+id/imageView1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_weight="1.0"
android:gravity="center_horizontal"
android:src="@drawable/notepad" />
<com.zibi.zGLSurfaceView android:id="@+id/surfaceviewclass"
android:layout_width="match_parent"
android:layout_height="match_parent">
</com.zibi.travelersnotepad.zGLSurfaceView>
</RelativeLayout>
, 당신은 linear_layout에서 다른 상단에 하나 개의보기를 쌓아 캔트 "내가 그 위에 쌓인 이미지보기 및 glsurface이"내가 상대를 사용하고 왜 그게 전부, 그리고 난 같은 크기로 glsurface합니다 이미지 뷰로 – ZZZ