mirror of
https://github.com/minetest/minetest.git
synced 2024-12-02 04:23:45 +01:00
Android: Fix start-up crashes on version 4.x (#8003)
* Android: Load shared STL library * Android: Fix exception with window background image
This commit is contained in:
parent
3c24f941e0
commit
3d15a6774d
@ -10,6 +10,7 @@ import android.view.WindowManager;
|
|||||||
public class MtNativeActivity extends NativeActivity {
|
public class MtNativeActivity extends NativeActivity {
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
System.loadLibrary("c++_shared");
|
||||||
System.loadLibrary("openal");
|
System.loadLibrary("openal");
|
||||||
System.loadLibrary("ogg");
|
System.loadLibrary("ogg");
|
||||||
System.loadLibrary("vorbis");
|
System.loadLibrary("vorbis");
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
<style name="AppTheme" parent="@android:style/android:Theme.Material.Light.NoActionBar.Fullscreen">
|
<style name="AppTheme" parent="@android:style/android:Theme.Material.Light.NoActionBar.Fullscreen">
|
||||||
<item name="android:windowNoTitle">true</item>
|
<item name="android:windowNoTitle">true</item>
|
||||||
<item name="android:windowAnimationStyle">@null</item>
|
<item name="android:windowAnimationStyle">@null</item>
|
||||||
<item name="android:background">@drawable/bg</item>
|
<item name="android:windowBackground">@drawable/bg</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.Dialog" parent="@android:style/Theme.Material.Light.Dialog.NoActionBar"/>
|
<style name="Theme.Dialog" parent="@android:style/Theme.Material.Light.Dialog.NoActionBar"/>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
<style name="AppTheme" parent="@android:style/android:Theme.Holo.Light.NoActionBar.Fullscreen">
|
<style name="AppTheme" parent="@android:style/android:Theme.Holo.Light.NoActionBar.Fullscreen">
|
||||||
<item name="android:windowNoTitle">true</item>
|
<item name="android:windowNoTitle">true</item>
|
||||||
<item name="android:windowAnimationStyle">@null</item>
|
<item name="android:windowAnimationStyle">@null</item>
|
||||||
<item name="android:background">@drawable/bg</item>
|
<item name="android:windowBackground">@drawable/bg</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="Theme.Dialog" parent="@android:style/android:Theme.Holo.Light.Dialog.NoActionBar"/>
|
<style name="Theme.Dialog" parent="@android:style/android:Theme.Holo.Light.Dialog.NoActionBar"/>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
Loading…
Reference in New Issue
Block a user