J'ai un RelativeLayout
, et cette mise en page a deux enfants, l'un est un MapView
et l'autre un RelativeLayout
qui contient un bouton.Comment placer un RelativeLayout en bas d'un RelativeLayout?
Je veux que ça ressemble à ce que
mais ma boîte transparente (un RelativeLayout
) est toujours affiché en haut de la carte.
<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>
(j'ai omis certaines choses dans le code)