보통 xml에서
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:scrollbarStyle="outsideOverlay"
android:id="@+id/scv1"
>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView android:id="@+id/statusText"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="20sp"
android:text="@string/hello" />
</LinearLayout>
</ScrollView>
이런식으로 사용을 하는데요..
LinearLayout 을 </ScrollView> 밑으로 넣으니까 계속 에러가 나더라구요...
왠지 구조상(?) 안되는거 같은데,,;;
질문글 검색해보고, 없어서 안드로이드 sdk reference 쪽 봤는데 (http://developer.android.com/reference/android/widget/ScrollView.html)
영어가 약해서;; 번역기 돌려봐도,, 원하는답을 얻기는 힘드네요;; ㅡ,ㅡ;; ㅎ
관련되서 기능해보신분이나, 아시는분 조언 좀 부탁드립니당~~~
스크롤뷰를 원하는 화면만큼만 하게 하려구요 ; ㅎ 가장 하단에는 다른 레이아웃을 잡고 ㅎ




그런데 저기서 ScrollView 아래 뷰를 첨부하면 최상위 뷰가 두개가 되겠죠....