摘要: 最近在用TabHost,默认希望显示第2个tab,发现总是加载第三个tab的同时加载第一个,解决方法如下: 1、首先查看addTab(TabSpec tabSpec)源代码:/** * Add a tab. * @param tabSpec Specifies how to create the indicator and content. */ public void addTab(TabSpec tabSpec) { if (tabSpec.mIndicatorStrategy == null) { throw new Il... 阅读全文
posted @ 2013-09-27 22:01 Alexander.liu 阅读(11304) 评论(0) 推荐(0) 编辑