已采纳回答 / Forest_Deer
如果是指让viewStub不可见:View viewStub=stub.inflate()viewStub.setVisibity(View.GONE);如果是指清空ViewStub的对象stub(已经初始化):stub=null;
2015-05-30
最赞回答 / Shirey
相对布局中的<include layout="@layout/common_title"/> 与 <TextView android:layout_width="match_parent" android:layout_height="wrap_content" android:text="正文内容" android:textSize="18dp" />这两部分,没有写出相对位置的关系。
2015-05-28
最赞回答 / 飞飞飞翔
public Object instantiateItem(ViewGroup container, int position)参数选的不对,应该选择这个含有ViewGroup参数的
2015-05-24
最新回答 / Forest_Deer
WebView因javaScript有安全隐患,默认为不允许而有些网站不得不使用javaScript,则需要WebView设置支持javaScript脚本语言
2015-05-24