1495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee/*
2495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee * Copyright (C) 2010 The Android Open Source Project
3495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee *
4495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee * Licensed under the Apache License, Version 2.0 (the "License");
5495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee * you may not use this file except in compliance with the License.
6495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee * You may obtain a copy of the License at
7495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee *
8495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee *      http://www.apache.org/licenses/LICENSE-2.0
9495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee *
10495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee * Unless required by applicable law or agreed to in writing, software
11495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee * distributed under the License is distributed on an "AS IS" BASIS,
12495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee * See the License for the specific language governing permissions and
14495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee * limitations under the License.
15495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee */
16495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee
17495c732e471c1c68db91ca6e824440130fdb7146Yorke Leepackage com.android.contacts.common.preference;
18495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee
19495c732e471c1c68db91ca6e824440130fdb7146Yorke Leeimport android.os.Bundle;
20495c732e471c1c68db91ca6e824440130fdb7146Yorke Leeimport android.preference.PreferenceFragment;
21495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee
22495c732e471c1c68db91ca6e824440130fdb7146Yorke Leeimport com.android.contacts.common.R;
23495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee
24495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee/**
25495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee * This fragment shows the preferences for the first header.
26495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee */
27495c732e471c1c68db91ca6e824440130fdb7146Yorke Leepublic class DisplayOptionsPreferenceFragment extends PreferenceFragment {
28495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee
29495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee    @Override
30495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee    public void onCreate(Bundle savedInstanceState) {
31495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee        super.onCreate(savedInstanceState);
32495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee
33495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee        // Load the preferences from an XML resource
34495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee        addPreferencesFromResource(R.xml.preference_display_options);
35495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee    }
36495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee}
37495c732e471c1c68db91ca6e824440130fdb7146Yorke Lee
38