내가 놓친 일이 없다면 wrap_content
과 같은 ListView
을 만들려고합니까? TextView
은 항상 ListView
아래입니까?
<LinearLayout // Your list view and TextView in a same linear layout
android:layout_alignParentTop="true"
android:layout_width="fill_parent"
android:layout_height="400dp" // With this specific height, your TextView will
// always in this range!
android:orientation="vertical" >
<ListView
android:layout_width="fill_parent"
android:layout_height="0dp"
android:layout_weight="0.1" >
</ListView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:layout_marginBottom="91dp"
//layout_gravity = "right"?? I'm not sure, you should make it right alignment
/>
</LinearLayout>
<LinearLayout /> // This is your linear layout at the Bottom, 2 Lineary layout is
// putted in a Relative layout
배치는 위의 상단에 당신에게 목록보기 제공하고, 텍스트 뷰가 아래 하단에있는 LinearLayout입니다 : 내가 잘못 본게 아니라면, 그래서이 당신이 필요합니다. 그것을 밖으로 시도하십시오 !!
이것은 정상적으로 처리되었습니다. 내가 문제를 준 뿌리로서 relativelayout을 사용하고 있었다. –