|
1 | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
2 | 2 | package="dev.flutter.isolate_example"> |
3 | | - <!-- io.flutter.app.FlutterApplication is an android.app.Application that |
4 | | - calls FlutterMain.startInitialization(this); in its onCreate method. |
5 | | - In most cases you can leave this as-is, but you if you want to provide |
6 | | - additional functionality it is fine to subclass or reimplement |
7 | | - FlutterApplication and put your custom class here. --> |
8 | | - <application |
9 | | - android:name="io.flutter.app.FlutterApplication" |
| 3 | + <application |
10 | 4 | android:label="isolate_example" |
11 | 5 | android:icon="@mipmap/ic_launcher"> |
12 | 6 | <activity |
|
16 | 10 | android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
17 | 11 | android:hardwareAccelerated="true" |
18 | 12 | android:windowSoftInputMode="adjustResize"> |
| 13 | + <!-- Specifies an Android theme to apply to this Activity as soon as |
| 14 | + the Android process has started. This theme is visible to the user |
| 15 | + while the Flutter UI initializes. After that, this theme continues |
| 16 | + to determine the Window background behind the Flutter UI. --> |
| 17 | + <meta-data |
| 18 | + android:name="io.flutter.embedding.android.NormalTheme" |
| 19 | + android:resource="@style/NormalTheme" |
| 20 | + /> |
| 21 | + <!-- Displays an Android View that continues showing the launch screen |
| 22 | + Drawable until Flutter paints its first frame, then this splash |
| 23 | + screen fades out. A splash screen is useful to avoid any visual |
| 24 | + gap between the end of Android's launch screen and the painting of |
| 25 | + Flutter's first frame. --> |
| 26 | + <meta-data |
| 27 | + android:name="io.flutter.embedding.android.SplashScreenDrawable" |
| 28 | + android:resource="@drawable/launch_background" |
| 29 | + /> |
19 | 30 | <intent-filter> |
20 | 31 | <action android:name="android.intent.action.MAIN"/> |
21 | 32 | <category android:name="android.intent.category.LAUNCHER"/> |
|
0 commit comments