SC20120522-155445.jpeg

 

 

 <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="match_parent"
    android:focusable="true"
    android:focusableInTouchMode="true"
    android:orientation="vertical" >
    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:background="#f7adce"
        android:orientation="horizontal" >
        <Button
            android:id="@+id/read_homeBTN"
            android:layout_width="20dp"
            android:layout_height="48dp"
            android:layout_marginTop="5dp"
            android:layout_weight="1"
            android:onClick="onClickFunc"
            android:text="뒤로" />
        <ImageView
            android:id="@+id/img_bitmap"
            android:layout_width="45dp"
            android:layout_height="45dp"
            android:layout_gravity="center"
            android:layout_marginLeft="20dp"
            android:src="@drawable/ic_launcher" />
        <TextView
            android:id="@+id/read_nicknameTXT"
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_marginLeft="15dp"
            android:layout_weight="3"
            android:gravity="left|center_vertical"
            android:textColor="#000"
            android:textSize="18sp"
            android:textStyle="bold" />
        <Button
            android:id="@+id/read_editBTN"
            android:layout_width="20dp"
            android:layout_height="48dp"
            android:layout_marginTop="5dp"
            android:layout_weight="1"
            android:onClick="onClickFunc"
            android:text="메뉴" />
    </LinearLayout>
    <ScrollView
        android:id="@+id/read_contentScroll"
        android:layout_width="fill_parent"
        android:layout_height="0dp"
        android:layout_weight="3" >
        <LinearLayout
            android:id="@+id/read_contentLinear"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:orientation="vertical"
            >
            <TextView
                android:id="@+id/readTXT"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content" />
            <ImageView
                android:id="@+id/read_image"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:contentDescription="image/jpeg"
                android:scaleType="matrix" />
            <ListView
                android:id="@+id/commentLST"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:stackFromBottom="true" />
        </LinearLayout>
    </ScrollView>
    <LinearLayout
        android:id="@+id/editLayout"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content" >
        <EditText
            android:id="@+id/readSendEDT"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="3"
            android:hint="댓글을 입력해 주세요" />
        <Button
            android:id="@+id/readSendBTN"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:onClick="onBTNFunc"
            android:text="전송" />
    </LinearLayout>
</LinearLayout>

지금 리스트뷰를 댓글 입력할때마다 밑으로 쭈욱 뿌려주고 싶은데 리스트뷰가 한줄밖에안보이네요

 

리스트뷰 높이를 지정해주면 댓글이 보이긴한데 그 높이를 넘어서면 다시 댓글이 숨는 현상이 있어서

 

높이지정도 못해주겠구요

 

이거 어떤식으로 해결하면 될까요?

 

구현할려고 하는게 textview imageview listview 를 한화면처럼 스크롤할수있게 구현할려고 하고 있습니다.

 

조언좀 부탁드려요