2011-01-19 69 views
0

有人滾動視圖是否只適用於LinearLayout中,因爲我想絕對佈局,但有一個問題在事先Android的滾動型

+0

它的工作原理總而言之,但你必須闡明你得到的概率是什麼? – 2011-01-19 11:05:28

回答

1

其滾動

感謝試試這個代碼,這是有益的

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 
android:layout_height="wrap_content" 
    android:layout_width="fill_parent"> 
<LinearLayout 
android:orientation="vertical" 
xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="fill_parent" 
    android:layout_height="fill_parent" 
    android:id="@+id/LinearLayoutHelp" 
    android:background="@android:color/white"> 
<------pasted in views---------> 
</LinearLayout> 
</ScrollView>