清单文件-活动标记

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了清单文件-活动标记相关的知识,希望对你有一定的参考价值。

  1. <activity android:allowTaskReparenting=["true" | "false"]
  2. android:alwaysRetainTaskState=["true" | "false"]
  3. android:clearTaskOnLaunch=["true" | "false"]
  4. android:configChanges=["mcc", "mnc", "locale",
  5. "touchscreen", "keyboard", "keyboardHidden",
  6. "navigation", "screenLayout", "fontScale", "uiMode",
  7. "orientation", "screenSize", "smallestScreenSize"]
  8. android:enabled=["true" | "false"]
  9. android:excludeFromRecents=["true" | "false"]
  10. android:exported=["true" | "false"]
  11. android:finishOnTaskLaunch=["true" | "false"]
  12. android:hardwareAccelerated=["true" | "false"]
  13. android:icon="drawable resource"
  14. android:label="string resource"
  15. android:launchMode=["multiple" | "singleTop" |
  16. "singleTask" | "singleInstance"]
  17. android:multiprocess=["true" | "false"]
  18. android:name="string"
  19. android:noHistory=["true" | "false"]
  20. android:permission="string"
  21. android:process="string"
  22. android:screenOrientation=["unspecified" | "user" | "behind" |
  23. "landscape" | "portrait" |
  24. "reverseLandscape" | "reversePortrait" |
  25. "sensorLandscape" | "sensorPortrait" |
  26. "sensor" | "fullSensor" | "nosensor"]
  27. android:stateNotNeeded=["true" | "false"]
  28. android:taskAffinity="string"
  29. android:theme="resource or theme"
  30. android:windowSoftInputMode=["stateUnspecified",
  31. "stateUnchanged", "stateHidden",
  32. "stateAlwaysHidden", "stateVisible",
  33. "stateAlwaysVisible", "adjustUnspecified",
  34. "adjustResize", "adjustPan"] >
  35. . . .
  36. </activity>

以上是关于清单文件-活动标记的主要内容,如果未能解决你的问题,请参考以下文章

调用另一个应用程序中的活动时在清单文件中写入啥结果?

在AndroidManifest(清单文件)中注册activity(活动)及配置主活动更改App图标App名称修改隐藏标题栏

如何制作“菜单”或“清单”后退按钮以导航回上一个活动

Eclipse:应用程序未安装!我猜错误在清单文件中。建议? [关闭]

Autodesk Forge 从转换后的 DWG 获取清单和元数据

Android:包括多个要清单的 Java 包