public class CustomActionBarFragment extends AtakPreferenceFragment
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTIONBAR_BACKGROUND_COLOR_KEY |
static java.lang.String |
ACTIONBAR_ICON_COLOR_KEY |
_externalPreferenceBundle
Constructor and Description |
---|
CustomActionBarFragment() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSubTitle()
Fragment implementations should return the sub title for display in action bar
|
static java.util.List<PreferenceSearchIndex> |
index(android.content.Context context) |
boolean |
isColorDark(int color)
Tests the RGB color values of the int color
returns if the color is a light or dark color based on saturation
|
void |
onCreate(android.os.Bundle savedInstanceState) |
addPreferences, addPreferencesFromIntent, addPreferencesFromResource, checkKeyGuard, checkScreenLock, findPreference, getOrientation, getResourceID, getSubTitle, getSubTitle, getSummary, getSummaryID, index, index, index, index, onDestroy, onResume, printBundleContents, removeMainWindowActivity, removePreference, setContext, setMainWindowActivity, setOrientation, setOrientation, setPreferenceState, setSoftKeyIllumination, showScreen, showScreen
getPreferenceManager, getPreferenceScreen, onActivityCreated, onActivityResult, onCreateView, onDestroyView, onPreferenceTreeClick, onSaveInstanceState, onStart, onStop, onViewCreated, setPreferenceScreen
dump, equals, getActivity, getAllowEnterTransitionOverlap, getAllowReturnTransitionOverlap, getArguments, getChildFragmentManager, getContext, getEnterTransition, getExitTransition, getFragmentManager, getHost, getId, getLayoutInflater, getLoaderManager, getParentFragment, getReenterTransition, getResources, getRetainInstance, getReturnTransition, getSharedElementEnterTransition, getSharedElementReturnTransition, getString, getString, getTag, getTargetFragment, getTargetRequestCode, getText, getUserVisibleHint, getView, hashCode, instantiate, instantiate, isAdded, isDetached, isHidden, isInLayout, isRemoving, isResumed, isStateSaved, isVisible, onAttach, onAttach, onAttachFragment, onConfigurationChanged, onContextItemSelected, onCreateAnimator, onCreateContextMenu, onCreateOptionsMenu, onDestroyOptionsMenu, onDetach, onGetLayoutInflater, onHiddenChanged, onInflate, onInflate, onInflate, onLowMemory, onMultiWindowModeChanged, onMultiWindowModeChanged, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPictureInPictureModeChanged, onPictureInPictureModeChanged, onPrepareOptionsMenu, onRequestPermissionsResult, onTrimMemory, onViewStateRestored, postponeEnterTransition, registerForContextMenu, requestPermissions, setAllowEnterTransitionOverlap, setAllowReturnTransitionOverlap, setArguments, setEnterSharedElementCallback, setEnterTransition, setExitSharedElementCallback, setExitTransition, setHasOptionsMenu, setInitialSavedState, setMenuVisibility, setReenterTransition, setRetainInstance, setReturnTransition, setSharedElementEnterTransition, setSharedElementReturnTransition, setTargetFragment, setUserVisibleHint, shouldShowRequestPermissionRationale, startActivity, startActivity, startActivityForResult, startActivityForResult, startIntentSenderForResult, startPostponedEnterTransition, toString, unregisterForContextMenu
public static final java.lang.String ACTIONBAR_ICON_COLOR_KEY
public static final java.lang.String ACTIONBAR_BACKGROUND_COLOR_KEY
public static java.util.List<PreferenceSearchIndex> index(android.content.Context context)
public java.lang.String getSubTitle()
AtakPreferenceFragment
getSubTitle
in class AtakPreferenceFragment
public void onCreate(android.os.Bundle savedInstanceState)
onCreate
in class AtakPreferenceFragment
public boolean isColorDark(int color)
color
- the color to test