public abstract class SherlockPreferenceActivity extends android.preference.PreferenceActivity implements ActionBarSherlock.OnCreatePanelMenuListener, ActionBarSherlock.OnPreparePanelListener, ActionBarSherlock.OnMenuItemSelectedListener, ActionBarSherlock.OnActionModeStartedListener, ActionBarSherlock.OnActionModeFinishedListener
EXTRA_NO_HEADERS, EXTRA_SHOW_FRAGMENT, EXTRA_SHOW_FRAGMENT_ARGUMENTS, EXTRA_SHOW_FRAGMENT_SHORT_TITLE, EXTRA_SHOW_FRAGMENT_TITLE, HEADER_ID_UNDEFINEDDEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OKACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, APP_OPS_SERVICE, AUDIO_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY, BLUETOOTH_SERVICE, CAPTIONING_SERVICE, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONSUMER_IR_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DISPLAY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_ROUTER_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, PRINT_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, STORAGE_SERVICE, TELEPHONY_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, UI_MODE_SERVICE, USB_SERVICE, USER_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_P2P_SERVICE, WIFI_SERVICE, WINDOW_SERVICE| Constructor and Description | 
|---|
SherlockPreferenceActivity()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addContentView(android.view.View view,
              android.view.ViewGroup.LayoutParams params)  | 
void | 
closeOptionsMenu()  | 
boolean | 
dispatchKeyEvent(android.view.KeyEvent event)  | 
protected ActionBarSherlock | 
getSherlock()  | 
ActionBar | 
getSupportActionBar()  | 
MenuInflater | 
getSupportMenuInflater()  | 
void | 
invalidateOptionsMenu()  | 
void | 
onActionModeFinished(ActionMode mode)  | 
void | 
onActionModeStarted(ActionMode mode)  | 
void | 
onConfigurationChanged(android.content.res.Configuration newConfig)  | 
boolean | 
onCreateOptionsMenu(android.view.Menu menu)  | 
boolean | 
onCreateOptionsMenu(Menu menu)  | 
boolean | 
onCreatePanelMenu(int featureId,
                 Menu menu)  | 
protected void | 
onDestroy()  | 
boolean | 
onMenuItemSelected(int featureId,
                  MenuItem item)  | 
boolean | 
onMenuOpened(int featureId,
            android.view.Menu menu)  | 
boolean | 
onOptionsItemSelected(android.view.MenuItem item)  | 
boolean | 
onOptionsItemSelected(MenuItem item)  | 
void | 
onPanelClosed(int featureId,
             android.view.Menu menu)  | 
protected void | 
onPause()  | 
protected void | 
onPostCreate(android.os.Bundle savedInstanceState)  | 
protected void | 
onPostResume()  | 
boolean | 
onPrepareOptionsMenu(android.view.Menu menu)  | 
boolean | 
onPrepareOptionsMenu(Menu menu)  | 
boolean | 
onPreparePanel(int featureId,
              android.view.View view,
              Menu menu)  | 
protected void | 
onStop()  | 
protected void | 
onTitleChanged(CharSequence title,
              int color)  | 
void | 
openOptionsMenu()  | 
void | 
requestWindowFeature(long featureId)  | 
void | 
setContentView(int layoutResId)  | 
void | 
setContentView(android.view.View view)  | 
void | 
setContentView(android.view.View view,
              android.view.ViewGroup.LayoutParams params)  | 
void | 
setSupportProgress(int progress)  | 
void | 
setSupportProgressBarIndeterminate(boolean indeterminate)  | 
void | 
setSupportProgressBarIndeterminateVisibility(boolean visible)  | 
void | 
setSupportProgressBarVisibility(boolean visible)  | 
void | 
setSupportSecondaryProgress(int secondaryProgress)  | 
ActionMode | 
startActionMode(ActionMode.Callback callback)  | 
void | 
supportInvalidateOptionsMenu()  | 
addPreferencesFromIntent, addPreferencesFromResource, findPreference, finishPreferencePanel, getPreferenceManager, getPreferenceScreen, hasHeaders, invalidateHeaders, isMultiPane, isValidFragment, loadHeadersFromResource, onActivityResult, onBuildHeaders, onBuildStartFragmentIntent, onContentChanged, onCreate, onGetInitialHeader, onGetNewHeader, onHeaderClick, onIsHidingHeaders, onIsMultiPane, onListItemClick, onNewIntent, onPreferenceStartFragment, onPreferenceTreeClick, onRestoreInstanceState, onSaveInstanceState, setListFooter, setParentTitle, setPreferenceScreen, showBreadCrumbs, startPreferenceFragment, startPreferencePanel, startWithFragment, startWithFragment, switchToHeader, switchToHeadergetListAdapter, getListView, getSelectedItemId, getSelectedItemPosition, setListAdapter, setSelectioncloseContextMenu, createPendingResult, dismissDialog, dispatchGenericMotionEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, dump, findViewById, finish, finishActivity, finishActivityFromChild, finishAffinity, finishFromChild, getActionBar, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getFragmentManager, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLoaderManager, getLocalClassName, getMenuInflater, getParent, getParentActivityIntent, getPreferences, getRequestedOrientation, getSystemService, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWindow, getWindowManager, hasWindowFocus, isChangingConfigurations, isChild, isDestroyed, isFinishing, isImmersive, isTaskRoot, managedQuery, moveTaskToBack, navigateUpTo, navigateUpToFromChild, onActionModeFinished, onActionModeStarted, onApplyThemeResource, onAttachedToWindow, onAttachFragment, onBackPressed, onChildTitleChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreateDialog, onCreateNavigateUpTaskStack, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onCreateView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onLowMemory, onMenuItemSelected, onNavigateUp, onNavigateUpFromChild, onOptionsMenuClosed, onPrepareDialog, onPrepareDialog, onPrepareNavigateUpTaskStack, onPreparePanel, onProvideAssistData, onRestart, onResume, onRetainNonConfigurationInstance, onSearchRequested, onStart, onTouchEvent, onTrackballEvent, onTrimMemory, onUserInteraction, onUserLeaveHint, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, openContextMenu, overridePendingTransition, recreate, registerForContextMenu, removeDialog, reportFullyDrawn, requestWindowFeature, runOnUiThread, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setFinishOnTouchOutside, setImmersive, setIntent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, setVisible, setVolumeControlStream, shouldUpRecreateTask, showDialog, showDialog, startActionMode, startActivities, startActivities, startActivity, startActivity, startActivityForResult, startActivityForResult, startActivityFromChild, startActivityFromChild, startActivityFromFragment, startActivityFromFragment, startActivityIfNeeded, startActivityIfNeeded, startIntentSender, startIntentSender, startIntentSenderForResult, startIntentSenderForResult, startIntentSenderFromChild, startIntentSenderFromChild, startManagingCursor, startNextMatchingActivity, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, triggerSearch, unregisterForContextMenuapplyOverrideConfiguration, attachBaseContext, getResources, getTheme, setThemebindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createConfigurationContext, createDisplayContext, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getExternalCacheDir, getExternalCacheDirs, getExternalFilesDir, getExternalFilesDirs, getFilesDir, getFileStreamPath, getMainLooper, getObbDir, getObbDirs, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getSharedPreferences, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isRestricted, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, removeStickyBroadcastAsUser, revokeUriPermission, sendBroadcast, sendBroadcast, sendBroadcastAsUser, sendBroadcastAsUser, sendOrderedBroadcast, sendOrderedBroadcast, sendOrderedBroadcastAsUser, sendStickyBroadcast, sendStickyBroadcastAsUser, sendStickyOrderedBroadcast, sendStickyOrderedBroadcastAsUser, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceiverprotected final ActionBarSherlock getSherlock()
public ActionBar getSupportActionBar()
public ActionMode startActionMode(ActionMode.Callback callback)
public void onActionModeStarted(ActionMode mode)
onActionModeStarted in interface ActionBarSherlock.OnActionModeStartedListenerpublic void onActionModeFinished(ActionMode mode)
onActionModeFinished in interface ActionBarSherlock.OnActionModeFinishedListenerpublic void onConfigurationChanged(android.content.res.Configuration newConfig)
onConfigurationChanged in interface android.content.ComponentCallbacksonConfigurationChanged in class android.app.Activityprotected void onPostResume()
onPostResume in class android.app.Activityprotected void onPause()
onPause in class android.app.Activityprotected void onStop()
onStop in class android.preference.PreferenceActivityprotected void onDestroy()
onDestroy in class android.preference.PreferenceActivityprotected void onPostCreate(android.os.Bundle savedInstanceState)
onPostCreate in class android.app.Activityprotected void onTitleChanged(CharSequence title, int color)
onTitleChanged in class android.app.Activitypublic final boolean onMenuOpened(int featureId,
                                  android.view.Menu menu)
onMenuOpened in interface android.view.Window.CallbackonMenuOpened in class android.app.Activitypublic void onPanelClosed(int featureId,
                          android.view.Menu menu)
onPanelClosed in interface android.view.Window.CallbackonPanelClosed in class android.app.Activitypublic boolean dispatchKeyEvent(android.view.KeyEvent event)
dispatchKeyEvent in interface android.view.Window.CallbackdispatchKeyEvent in class android.app.Activitypublic MenuInflater getSupportMenuInflater()
public void invalidateOptionsMenu()
invalidateOptionsMenu in class android.app.Activitypublic void supportInvalidateOptionsMenu()
public final boolean onCreateOptionsMenu(android.view.Menu menu)
onCreateOptionsMenu in class android.app.Activitypublic final boolean onPrepareOptionsMenu(android.view.Menu menu)
onPrepareOptionsMenu in class android.app.Activitypublic final boolean onOptionsItemSelected(android.view.MenuItem item)
onOptionsItemSelected in class android.app.Activitypublic void openOptionsMenu()
openOptionsMenu in class android.app.Activitypublic void closeOptionsMenu()
closeOptionsMenu in class android.app.Activitypublic boolean onCreatePanelMenu(int featureId,
                                 Menu menu)
onCreatePanelMenu in interface ActionBarSherlock.OnCreatePanelMenuListenerpublic boolean onCreateOptionsMenu(Menu menu)
public boolean onPreparePanel(int featureId,
                              android.view.View view,
                              Menu menu)
onPreparePanel in interface ActionBarSherlock.OnPreparePanelListenerpublic boolean onPrepareOptionsMenu(Menu menu)
public boolean onMenuItemSelected(int featureId,
                                  MenuItem item)
onMenuItemSelected in interface ActionBarSherlock.OnMenuItemSelectedListenerpublic boolean onOptionsItemSelected(MenuItem item)
public void addContentView(android.view.View view,
                           android.view.ViewGroup.LayoutParams params)
addContentView in class android.app.Activitypublic void setContentView(int layoutResId)
setContentView in class android.app.Activitypublic void setContentView(android.view.View view,
                           android.view.ViewGroup.LayoutParams params)
setContentView in class android.app.Activitypublic void setContentView(android.view.View view)
setContentView in class android.app.Activitypublic void requestWindowFeature(long featureId)
public void setSupportProgress(int progress)
public void setSupportProgressBarIndeterminate(boolean indeterminate)
public void setSupportProgressBarIndeterminateVisibility(boolean visible)
public void setSupportProgressBarVisibility(boolean visible)
public void setSupportSecondaryProgress(int secondaryProgress)
Copyright © 2011–2014. All rights reserved.