跳转到内容

类: Activity ​

更新: 2026/9/29 字数: 0 字 时长: 0 分钟

ui/activity.Activity

继承关系 ​

  • AndroidActivity

  • Activity

目录 ​

Constructors ​

属性 ​

Accessors ​

方法 ​

Constructors ​

constructor ​

  • new Activity()

Overrides

AndroidActivity.constructor

属性 ​

insetsController ​

  • Protected insetsController: any

Accessors ​

contentView ​

  • get contentView(): View

返回值

View


initialStatusBar ​

返回值

null | StatusBarConfig


layoutId ​

  • Protected get layoutId(): null | number

返回值

null | number


layoutXml ​

  • Protected get layoutXml(): null | string

返回值

null | string


layoutXmlFile ​

  • Protected get layoutXmlFile(): null | string

返回值

null | string

方法 ​

onContentViewSet ​

  • Protected onContentViewSet(contentView): void

参数

名称类型
contentViewView

返回值

void


onCreate ​

  • onCreate(savedInstanceState?): void

参数

名称类型
savedInstanceState?any

返回值

void