滾動的含義由用戶觸摸他可以向下給出這聽起來像一個微不足道的問題,但誰使我的佈局滾動
此佈局上去,是我做過什麼和仿真器拋出一個異常空指針財產以後和我有它是從哪裏來的搞清楚問題....
<?xml version="1.0" encoding="UTF-8"?>
<ScrollView>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:stretchColumns="1">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<TextView
android:text="Country City Game(aka CCG) is an acdemic work of MTA students enjoy the game"
android:textSize="24.5sp"
android:layout_width="fill_parent"
android:layout_height="fill_parent"></TextView>
</LinearLayout>
</TableLayout>
</ScrollView>
這一個不工作,但是當我放棄
<ScrollView> </ScrollView>
它的作品可以給我一些解釋一個什麼WRO ng?
你編輯的問題,包括建議的答案 - 這是現在混亂。你應該在編輯中提到你已經完成了這項工作,否則任何其他人以後查看此問題可能無法理解問題和相關解決方案。 StackOverflow不僅僅是爲了解答你的問題,而是爲了幫助開發者建立一個問答庫。 – cjk 2010-07-01 10:39:38
這是同樣的問題,我只是添加更多的文字和示例,以幫助其他人看到所有圖片和我可能在另一個地方是錯誤的... – 2010-07-01 10:53:09