안드로이드 개발 질문/답변
(글 수 45,052)
안녕하세요 위화면에서 보시면 리스트뷰에 내용이 저런식으로 총 10개가 있어서 스크롤해서 선택할수있는형태인데요
맨아래에 텍스트뷰를 배치할려고해도 그어떤방법으로 해도 안되네요...고수님들의 조언을 구합니다
<LinearLayout <!-- 가장 최고위치의 리니어레이아웃
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<TextView
맨위에 "실시간 검색어 정보" 글자
/>
</LinearLayout>
<LinearLayout
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
>
<Button
버튼 총 4개 news blog 이런버튼이 들어가는 리니어레이아웃
/>
<LinearLayout
android:id="@+id/mainpage"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<ListView
리스트뷰에서 총 10개 텍스트가 들어감
android:layout_width="fill_parent"
android:layout_height="fill_parent"
/>
</LinearLayout>
<LinearLayout
android:id="@+id/Bottom"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ffffff"
>
<TextView
여기에 텍스트뷰가 들어감
/>
</LinearLayout>
</LinearLayout>
리니어 레이아웃이 총 4개 들어가서 위에서 부터
텍스트1
버튼4개
리스트
텍스트2
이렇게 들어가는데요 이상하게 리스트 아래있는 텍스트2는 항상 안나오네요
리스트를 포함하는 리니어레이아웃 height를 wrap_content로 바꿔도 안되고
왠지 뭔가 잘못한거같긴한데 혹시 같은문제로 문제생기신분없으신가요?



