diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2023-08-07 13:37:19 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2023-08-07 13:37:19 -0400 |
| commit | 201a0de90faabe68f1eb701b67af30a4d11fa32b (patch) | |
| tree | c396bec9a496876acc9a5b7bec55912a32c191c1 /android/build/src/com | |
| parent | 7f1cdc4663800fa9bdfddf888164826819d97e6e (diff) | |
| download | erable-godot-master.tar.gz erable-godot-master.tar.bz2 erable-godot-master.zip | |
Diffstat (limited to 'android/build/src/com')
| -rw-r--r-- | android/build/src/com/godot/game/GodotApp.java | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/android/build/src/com/godot/game/GodotApp.java b/android/build/src/com/godot/game/GodotApp.java new file mode 100644 index 0000000..955446b --- /dev/null +++ b/android/build/src/com/godot/game/GodotApp.java @@ -0,0 +1,47 @@ +/*************************************************************************/ +/* GodotApp.java */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +package com.godot.game; + +import org.godotengine.godot.FullScreenGodotApp; + +import android.os.Bundle; + +/** + * Template activity for Godot Android custom builds. + * Feel free to extend and modify this class for your custom logic. + */ +public class GodotApp extends FullScreenGodotApp { + @Override + public void onCreate(Bundle savedInstanceState) { + setTheme(R.style.GodotAppMainTheme); + super.onCreate(savedInstanceState); + } +} |
