标签:
fragment需要id是必须属性
<fragment
android:id="@+id/frg1"
android:name="com.example.test1.frgcontent"
android:layout_width="match_parent"
android:layout_height="match_parent" />
还必须加name属性
标签:
原文地址:http://www.cnblogs.com/20000ding/p/4983564.html