|
7 | 7 | additional functionality it is fine to subclass or reimplement |
8 | 8 | FlutterApplication and put your custom class here. --> |
9 | 9 | <application |
10 | | - android:name="io.flutter.app.FlutterApplication" |
11 | 10 | android:label="svgaplayer_flutter_example" |
12 | 11 | android:icon="@mipmap/ic_launcher"> |
13 | 12 | <activity |
|
16 | 15 | android:theme="@style/LaunchTheme" |
17 | 16 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
18 | 17 | android:hardwareAccelerated="true" |
| 18 | + android:exported="true" |
19 | 19 | android:windowSoftInputMode="adjustResize"> |
20 | | - <!-- This keeps the window background of the activity showing |
21 | | - until Flutter renders its first frame. It can be removed if |
22 | | - there is no splash screen (such as the default splash screen |
23 | | - defined in @style/LaunchTheme). --> |
24 | 20 | <meta-data |
25 | | - android:name="io.flutter.app.android.SplashScreenUntilFirstFrame" |
26 | | - android:value="true" /> |
| 21 | + android:name="io.flutter.embedding.android.SplashScreenDrawable" |
| 22 | + android:resource="@drawable/launch_background" /> |
| 23 | + |
| 24 | + <!-- Theme to apply as soon as Flutter begins rendering frames --> |
| 25 | + <meta-data |
| 26 | + android:name="io.flutter.embedding.android.NormalTheme" |
| 27 | + android:resource="@android:style/Theme.Black.NoTitleBar" |
| 28 | + /> |
27 | 29 | <intent-filter> |
28 | 30 | <action android:name="android.intent.action.MAIN"/> |
29 | 31 | <category android:name="android.intent.category.LAUNCHER"/> |
30 | 32 | </intent-filter> |
31 | 33 | </activity> |
| 34 | + |
| 35 | + <meta-data |
| 36 | + android:name="flutterEmbedding" |
| 37 | + android:value="2" /> |
32 | 38 | </application> |
33 | 39 | </manifest> |
0 commit comments