Package org.robolectric.manifest
Class ActivityData
java.lang.Object
org.robolectric.manifest.ActivityData
-
Constructor Summary
ConstructorDescriptionActivityData
(String xmlns, Map<String, String> attrMap, List<IntentFilterData> intentFilters) ActivityData
(String xmlns, Map<String, String> attrMap, List<IntentFilterData> intentFilters, ActivityData targetActivity, MetaData metaData) ActivityData
(Map<String, String> attrMap, List<IntentFilterData> intentFilters) -
Method Summary
Modifier and TypeMethodDescriptionGet the map for all attributes defined for the activity XML.Get the intent filters defined for activity.getLabel()
getName()
static String
getNameAttr
(String xmlns) static String
getTargetAttr
(String xmlns) Convenience accessor for value of android:THEME attribute.boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
-
Constructor Details
-
ActivityData
-
ActivityData
-
ActivityData
public ActivityData(String xmlns, Map<String, String> attrMap, List<IntentFilterData> intentFilters, ActivityData targetActivity, MetaData metaData)
-
-
Method Details
-
isAllowTaskReparenting
public boolean isAllowTaskReparenting() -
isAlwaysRetainTaskState
public boolean isAlwaysRetainTaskState() -
isClearTaskOnLaungh
public boolean isClearTaskOnLaungh() -
getConfigChanges
-
isEnabled
public boolean isEnabled() -
isExcludedFromRecents
public boolean isExcludedFromRecents() -
isExported
public boolean isExported() -
isFinishOnTaskLaunch
public boolean isFinishOnTaskLaunch() -
isHardwareAccelerated
public boolean isHardwareAccelerated() -
getLabel
-
getLaunchMode
-
isMultiprocess
public boolean isMultiprocess() -
getName
-
isNoHistory
public boolean isNoHistory() -
getParentActivityName
-
getPermission
-
getProcess
-
getScreenOrientation
-
isStateNotNeeded
public boolean isStateNotNeeded() -
getTargetActivityName
-
getTaskAffinity
-
getThemeRef
Convenience accessor for value of android:THEME attribute.- Returns:
- The theme attribute.
-
getUIOptions
-
getWindowSoftInputMode
-
getAllAttributes
Get the map for all attributes defined for the activity XML.- Returns:
- map of attributes names to values from the manifest. Not null.
-
getIntentFilters
Get the intent filters defined for activity.- Returns:
- A list of intent filters. Not null.
-
getMetaData
-
getTargetActivity
-
getNameAttr
-
getTargetAttr
-