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