Android使用可扩展列表视图

时间:2014-01-23 10:58:13

标签: android expandablelistview

我是Android新手。我想使用Expandable List View Fragment class>>

这是我的片段类

import om.hct.muscat.R;
import android.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class AbouthctFragment extends Fragment {

    public AbouthctFragment(){}

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
            Bundle savedInstanceState) {

        View rootView = inflater.inflate(R.layout.fragment_about_hct, container, false);

        return rootView;
    }
}

1 个答案:

答案 0 :(得分:0)