나는 listview 또는 tableview를 2/3 화면에 차지하고 싶습니다. 그러면리스트 뷰 바로 아래에 거대한 버튼이 생깁니다. 지금 문제는 listview가 화면의 전체 높이를 차지한다는 것입니다. 그래픽 레이아웃의 높이를 조정할 수 없었습니다. 나는 5 개의 항목 높이 크기를 취하고 싶습니다. 수직있는 LinearLayout 당신을 위해 잘 작동하는 것처럼 아래, 당신은 귀하의 질문에 말에서안드로이드 레이아웃리스트 뷰 높이 조정 relativelayout 아래
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@+id/relativeLayout"
android:padding="3dp" xmlns:android="http://schemas.android.com/apk/res/android">
<ListView android:layout_height="wrap_content"
android:id="@+id/listView1"
android:layout_width="fill_parent" android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"></ListView>
</RelativeLayout>
안드로이드 : layout_alignParentBottom 속성은 버튼 아래에 숨겨진 몇 가지 목록 항목의 원인이 될 수 있습니다. – mvsagar