1.***Fragment 继承 PreferenceFragment
2.重写
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) 方法(不需要调用父类方法)
3.inflater.inflate(R.layout.****_screen, container, false);
其中****_screen需要包含:
<ListView
1.***Fragment 继承 PreferenceFragment
2.重写
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) 方法(不需要调用父类方法)
3.inflater.inflate(R.layout.****_screen, container, false);
其中****_screen需要包含:
<ListView