2015-06-21 71 views

回答

3

我想這是因爲你的佈局文件。將ListView標記的android:layout_height=wrap_content更改爲android:layout_height=match_parent

+0

正是!謝謝! –

+0

查找佈局有什麼問題的好方法是使用sdk附帶的Hierarchy Viewer工具。 – xorgate

+0

是否可以在IDEA中使用它? –

相關問題