处理app打开时黑屏的问题
This commit is contained in:
parent
0ffc88915b
commit
d3ea3d1771
@ -45,8 +45,12 @@
|
||||
<param name="onload" value="true"/>
|
||||
</feature>
|
||||
</config-file>
|
||||
|
||||
<edit-config file="AndroidManifest.xml" target="/manifest/application/activity[@android:name='MainActivity']" mode="merge">
|
||||
<activity android:theme="@style/Theme.AppStart" android:windowSoftInputMode="adjustResize"/>
|
||||
</edit-config>
|
||||
<source-file src="src/android/SplashScreen.java" target-dir="src/org/apache/cordova/splashscreen" />
|
||||
<resource-file src="src/android/res/values/style.xml"
|
||||
target="res/values/style.xml" />
|
||||
</platform>
|
||||
|
||||
<!-- ios -->
|
||||
|
7
src/android/res/values/style.xml
Normal file
7
src/android/res/values/style.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="Theme.AppStart" parent="android:Theme">
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowBackground">@drawable/screen</item>
|
||||
</style>
|
||||
</resources>
|
Loading…
x
Reference in New Issue
Block a user