摘要: 使用Tabhost的时候经常报:could not create tab content because could not find view with id 错误。总结一下发生错误的原因,一般的发生在setContent();先看XML布局: 代码:protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.acti... 阅读全文
posted @ 2014-03-15 02:46 rae 阅读(1134) 评论(0) 推荐(0) 编辑