xml布局文件
fragment_list.xml (控制fragment里面的内容)
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="match_parent"
android:background="#ffff00">
<TextView
android:id="@+id/textView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:text="TextView"
android:textColor="#000000"
android:textSize="20sp"/>
</RelativeLayout>
activity_static_load_fragment.xml (控制fragment控件所处于Activity页面中的位置)
<?xml version="1.0" encod