저는 RelativeLayout
이며,이 레이아웃에는 두 개의 자식이 있습니다. 하나는 MapView
이고 다른 하나는 버튼이 들어있는 RelativeLayout
입니다.RelativeLayout의 맨 아래에 RelativeLayout을 배치하는 방법은 무엇입니까?
나는 항상지도의 상단에 표시되는
하지만 내 투명 상자 (A RelativeLayout
)처럼 보이게합니다.
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<com.google.android.maps.MapView
android:id="@+id/mapView"/>
<test.project.TransparentPanel
android:layout_width="fill_parent"
android:layout_width="fill_parent">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Click Me!"/>
</test.project.TransparentPanel>
</RelativeLayout>
투명 패널로 alignParentBottom 옵션을 추가