Your content must have a ListView whose id attribute is 'android.R.id.list'

后端 未结 7 1368
清歌不尽
清歌不尽 2020-11-22 04:07

I have created an xml file like this:




        
相关标签:
7条回答
  • 2020-11-22 05:00

    One other thing that affected me: If you have multiple test devices, make sure you are making changes to the layout used by the device. In my case, I spent a while making changes to xmls in the "layout" directory until I discovered that my larger phone (which I switched to halfway through testing) was using xmls in the "layout-sw360dp" directory. Grrr!

    0 讨论(0)
提交回复
热议问题