Skip to content

Commit

Permalink
Document AndroidManifest.xml config options.
Browse files Browse the repository at this point in the history
  • Loading branch information
player-03 authored and joshtynjala committed Oct 22, 2024
1 parent 874fc25 commit fb22ace
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions _docs/project-files/xml-format/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,27 @@ The following options are available for [Android](../../../advanced-setup/androi
<config:android gradle-build-directory="C:/gradle-builds" />
```

Use the following syntax to set [`<application />`](https://developer.android.com/guide/topics/manifest/application-element) and [`<activity />`](https://developer.android.com/guide/topics/manifest/activity-element) values in AndroidManifest.xml.

```xml
<config:android>
<application android:appCategory="game" android:supportsRtl="true" />
<activity android:immersive="false" />
<activity android:persistableMode="persistAcrossReboots" />
</config:android>

<config:android>
<!-- Repeating an attribute overwrites the previous value. -->
<activity android:persistableMode="persistNever" />

<!-- ...Even if the previous value was set by Lime. -->
<application android:theme="@android:style/Theme.Fullscreen" />

<!-- Passing an empty string removes that attribute. -->
<application android:appCategory="" />
</config:android>
```

### HTML5

The following options are available for [HTML5](../../../advanced-setup/html5/) only.
Expand Down

0 comments on commit fb22ace

Please sign in to comment.