ApplicationAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在 /manifest/application
中 AndroidManifest.xml
生成元素。
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)]
[System.Serializable]
public sealed class ApplicationAttribute : Attribute, Java.Interop.IJniNameProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class, AllowMultiple=false, Inherited=false)>]
[<System.Serializable>]
type ApplicationAttribute = class
inherit Attribute
interface IJniNameProviderAttribute
- 继承
-
ApplicationAttribute
- 属性
- 实现
注解
此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。
构造函数
ApplicationAttribute() |
构造并初始化新 ApplicationAttribute 实例。 |
属性
AllowBackup |
在 |
AllowClearUserData |
是否向用户提供删除用户 ata 的选项。 |
AllowTaskReparenting |
应用程序定义的活动是否可以从启动它们的任务移动到它们具有相关性的任务,当下一个任务被带到最前面。 |
BackupAgent |
实现应用程序的备份代理的类型。 |
BackupInForeground |
在 |
Banner |
在 |
Debuggable |
应用程序是否可以调试。 |
Description |
与应用程序标签相比,有关应用程序的用户可读文本更长且更具描述性。 |
DirectBootAware |
在 |
Enabled |
Android 系统是否可以实例化应用程序的组件。 |
ExtractNativeLibs |
在 |
FullBackupContent |
在 |
FullBackupOnly |
在 |
HardwareAccelerated |
是否应为此应用程序中的所有活动和视图启用硬件加速呈现。 |
HasCode |
应用程序是否包含任何代码。 |
Icon |
表示应用程序的图标。 |
KillAfterRestore |
在全系统还原操作期间还原其设置后,是否应终止应用程序。 |
Label |
应用程序的用户可读标签。 |
LargeHeap |
是否应使用大型 Dalvik 堆创建应用程序。 |
Logo |
Android 资源,其中包含应用程序的徽标作为一个孔,以及未指定徽标的活动的徽标。 |
ManageSpaceActivity |
Activity系统可以启动以允许用户管理设备上应用程序占用的内存的 。 |
Name |
TODO:不支持。 实现应用程序的 类的名称。 |
NetworkSecurityConfig |
在 |
Permission |
客户端启动应用程序必须具有的权限的名称。 |
Persistent |
应用程序是否应始终保持运行。 |
Process |
应用程序应在其中运行的进程的名称。 |
RequiredAccountType |
在 |
ResizeableActivity |
在 |
RestoreAnyVersion |
在 |
RestrictedAccountType |
在 |
RoundIcon |
在 |
SupportsRtl |
在 |
TaskAffinity |
应用程序具有关联的任务。 |
Theme |
对定义应用程序整体主题的样式资源的引用。 |
UiOptions |
应用程序 UI 的其他选项。 |
UsesCleartextTraffic |
在 |
VMSafeMode |
在 |