我在XML中有以下佈局添加到滾動視圖TextView的
<Relativelayout.....
<TextView 1........../>
<ImageView........./>
<Textview 2......../>
</Relativelayout>
我需要添加垂直滾動型到TextView的2如何做到這一點我已經添加了FOLL代碼,但沒有工作...
<LinearLayout>
<ScrollView >
<TextView />
</ScrollView>
</LinearLayout>
請幫助
如果你只是想滾動一個TextView,你爲什麼不使用TexViewObject .setMovementMethod(new ScrollingMovementMethod())建議在這裏http://stackoverflow.com/questions/1748977/making-textview-scrollable-in-android – 2012-02-28 11:47:24