2011-03-31 7 views

답변

2

를 사용하여 수직 방향으로의 LinearLayout과 같은 1

+0

을 1! 감사. –

2

뭔가 트릭해야한다로 설정지도보기의 무게 : 나는에 무게를 설정하지 않으면 작동하지 않습니다

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent"> 

<Button 
    android:id="@+id/button" 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:layout_alignParentTop="true"/> 

<WhateveerMapLayout 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    android:layout_below="@id/button" 
    android:layout_above="@+id/button2" 
    /> 

<Button 
    android:id="@id/button2" 
    android:layout_width="fill_parent" 
    android:layout_height="wrap_content" 
    android:layout_alignParentBottom="true" 
    /> 


</RelativeLayout> 
관련 문제