Package org.robolectric.manifest
Class ActivityData
java.lang.Object
org.robolectric.manifest.ActivityData
public class ActivityData extends Object
-
Constructor Summary
Constructors Constructor Description ActivityData(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
-
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
-