最新回答 / 旺旺蔬菜汁
可以通過:View view = getLayoutInflater().inflate(R.layout.fragment, null,false);? text = (TextView) view.findViewById(R.id.text);獲取fragment中的控件
2016-07-19
最新回答 / youmux
我也遇到了這個問題,并在網上找到了答案。成功解決實測:在viewpager代碼里面添加((ViewPager.LayoutParams) tab.getLayoutParams()).isDecor = true;上面的tab為new PagerTabStrip的變量,并findViewById(R.id.tab)對象
2016-07-18