안녕하세요.

 

문의 드립니다.

첨부 이미지처럼 빨간영역은 내용 분량에 따라 늘어늘나고,

녹색영역은 답글이 나올건데 목록 처럼 갯수만큰 쭉 늘어 났으면 하는데요.

스크롤은 전체가 편져 있는상태에서 전체를 스크롤 하고싶으요

이미지는 디자인인데.

 

실제 아래의 레잉아웃처럼 해보려고 하니 스크롤뷰 안에 리스트 뷰늘 넣지 말라고 경고창이 떠네요.

어떻게 해야할까요.

감사합니다.

 

 

<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_height="fill_parent"
    android:layout_width="fill_parent" >
   
 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
  android:background="@color/backgroundcolor"
     android:orientation="vertical" >


  <WebView
      android:id="@+id/wvBoardItemDetailBoardContent"
      android:layout_width="match_parent"
      android:layout_height="238dp" />
  

  <ListView
      android:id="@+id/lvBoardItemDetailBoardComment"
      android:layout_width="match_parent"
      android:scrollbars="none"
      android:layout_height="252dp" >

      <!-- Preview: listitem=@layout/boarditemcommentrow -->
  </ListView>
  </LinearLayout>
</ScrollView>