Make use of activity-alias as the launcher mechanism for the Godot editor and the Godot app template
This commit is contained in:
parent
e47fb8b898
commit
2ed51e00a1
14 changed files with 391 additions and 81 deletions
|
|
@ -31,23 +31,25 @@
|
|||
|
||||
<activity
|
||||
android:name=".GodotApp"
|
||||
android:label="@string/godot_project_name_string"
|
||||
android:theme="@style/GodotAppSplashTheme"
|
||||
android:launchMode="singleInstancePerTask"
|
||||
android:excludeFromRecents="false"
|
||||
android:exported="true"
|
||||
android:exported="false"
|
||||
android:screenOrientation="landscape"
|
||||
android:windowSoftInputMode="adjustResize"
|
||||
android:configChanges="layoutDirection|locale|orientation|keyboardHidden|screenSize|smallestScreenSize|density|keyboard|navigation|screenLayout|uiMode"
|
||||
android:resizeableActivity="false"
|
||||
tools:ignore="UnusedAttribute" >
|
||||
|
||||
tools:ignore="UnusedAttribute" />
|
||||
<activity-alias
|
||||
android:name=".GodotAppLauncher"
|
||||
android:targetActivity=".GodotApp"
|
||||
android:exported="true">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
<category android:name="android.intent.category.LAUNCHER" />
|
||||
</intent-filter>
|
||||
</activity>
|
||||
</activity-alias>
|
||||
|
||||
</application>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue