|
1 | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2 | 2 | package="com.example.scheduling_events">
|
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 |
| 3 | + <application |
10 | 4 | android:label="scheduling_events"
|
| 5 | + android:name="${applicationName}" |
11 | 6 | android:icon="@mipmap/ic_launcher">
|
12 | 7 | <activity
|
13 |
| - android:name="io.flutter.embedding.android.FlutterActivity" |
| 8 | + android:name=".MainActivity" |
| 9 | + android:exported="true" |
14 | 10 | android:launchMode="singleTop"
|
15 | 11 | android:theme="@style/LaunchTheme"
|
16 |
| - android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
| 12 | + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" |
17 | 13 | android:hardwareAccelerated="true"
|
18 | 14 | android:windowSoftInputMode="adjustResize">
|
19 |
| - <!-- This keeps the window background of the activity showing |
20 |
| - until Flutter renders its first frame. It can be removed if |
21 |
| - there is no splash screen (such as the default splash screen |
22 |
| - defined in @style/LaunchTheme). --> |
| 15 | + <!-- Specifies an Android theme to apply to this Activity as soon as |
| 16 | + the Android process has started. This theme is visible to the user |
| 17 | + while the Flutter UI initializes. After that, this theme continues |
| 18 | + to determine the Window background behind the Flutter UI. --> |
23 | 19 | <meta-data
|
24 |
| - android:name="io.flutter.app.android.SplashScreenUntilFirstFrame" |
25 |
| - android:value="true" /> |
26 |
| - <meta-data |
27 |
| - android:name="flutterEmbedding" |
28 |
| - android:value="2" /> |
| 20 | + android:name="io.flutter.embedding.android.NormalTheme" |
| 21 | + android:resource="@style/NormalTheme" |
| 22 | + /> |
29 | 23 | <intent-filter>
|
30 | 24 | <action android:name="android.intent.action.MAIN"/>
|
31 | 25 | <category android:name="android.intent.category.LAUNCHER"/>
|
32 | 26 | </intent-filter>
|
33 | 27 | </activity>
|
| 28 | + <!-- Don't delete the meta-data below. |
| 29 | + This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> |
| 30 | + <meta-data |
| 31 | + android:name="flutterEmbedding" |
| 32 | + android:value="2" /> |
34 | 33 | </application>
|
35 | 34 | </manifest>
|
0 commit comments