Code example for PreferenceGroup

Methods: setOrderingAsAdded

0
 
            mVoicemailPref.setAllValues(vmailColor, vmailTimeOn, vmailTimeOff);
        } 
 
        mApplicationPrefList = (PreferenceGroup) findPreference("applications_list");
        mApplicationPrefList.setOrderingAsAdded(false);
    } 
 
    private void refreshCustomApplicationPrefs() { 
        Context context = getActivity();
 
        if (!parsePackageList()) { 
            return; 
        } 
 
        // Add the Application Preferences 
        if (mApplicationPrefList != null) {
            mApplicationPrefList.removeAll();
 
            for (Package pkg : mPackages.values()) {
                try {