|
1 | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2 |
| - package="cn.yshye.mini_canvas_example"> |
3 |
| - |
4 |
| - <!-- io.flutter.app.FlutterApplication is an android.app.Application that |
5 |
| - calls FlutterMain.startInitialization(this); in its onCreate method. |
6 |
| - In most cases you can leave this as-is, but you if you want to provide |
7 |
| - additional functionality it is fine to subclass or reimplement |
8 |
| - FlutterApplication and put your custom class here. --> |
9 |
| - <application |
10 |
| - android:name="io.flutter.app.FlutterApplication" |
11 |
| - android:label="mini_canvas_example" |
| 2 | + package="com.example.example"> |
| 3 | + <application |
| 4 | + android:label="example" |
12 | 5 | android:icon="@mipmap/ic_launcher">
|
13 | 6 | <activity
|
14 | 7 | android:name=".MainActivity"
|
15 | 8 | android:launchMode="singleTop"
|
16 | 9 | android:theme="@style/LaunchTheme"
|
17 |
| - android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
| 10 | + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
18 | 11 | android:hardwareAccelerated="true"
|
19 | 12 | 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). --> |
| 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. --> |
24 | 17 | <meta-data
|
25 |
| - android:name="io.flutter.app.android.SplashScreenUntilFirstFrame" |
26 |
| - android:value="true" /> |
| 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 | + /> |
27 | 30 | <intent-filter>
|
28 | 31 | <action android:name="android.intent.action.MAIN"/>
|
29 | 32 | <category android:name="android.intent.category.LAUNCHER"/>
|
30 | 33 | </intent-filter>
|
31 | 34 | </activity>
|
| 35 | + <!-- Don't delete the meta-data below. |
| 36 | + This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> |
| 37 | + <meta-data |
| 38 | + android:name="flutterEmbedding" |
| 39 | + android:value="2" /> |
32 | 40 | </application>
|
33 | 41 | </manifest>
|
0 commit comments