<!--
{
  "documentType" : "article",
  "framework" : "TVML",
  "identifier" : "/documentation/TVML/activityindicator",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "activityIndicator"
}
-->

# activityIndicator

Displays a spinning indicator and a title.

## Overview

Use the `activityIndicator` to show your users that some sort of activity is taking
place. The activity indicator is mostly used to show users that content is currently
loading. Here’s an example that displays an activity indicator inside of a loading
page.

```xml
<loadingTemplate>
   <activityIndicator>
      <title>Loading requested page</title>
   </activityIndicator>
</loadingTemplate>
```

### Subelements of activityIndicator

- [title](/documentation/TVML/title)

### Elements that Use activityIndicator

- [loadingTemplate](/documentation/TVML/loadingtemplate)
- [relatedContent](/documentation/TVML/relatedcontent)

## Topics

### Valid TVML Styles

[margin](/documentation/TVML/margin)

Specifies the spacing around an element.

[width](/documentation/TVML/element-shaping-width)

Specifies how wide an element is.

### Valid TVML Attributes

[binding](/documentation/TVML/binding)

Associates information in a data item with an element.

[prototype](/documentation/TVML/prototype)

Associates a data item type with an element.

[theme](/documentation/TVML/theme)

Sets the color scheme for an element.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)