AndroidManifest.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  2. package="me.yoqi.flutter.flutter_slider">
  3. <application
  4. android:label="图片轮播App"
  5. android:icon="@mipmap/ic_launcher">
  6. <activity
  7. android:name=".MainActivity"
  8. android:exported="true"
  9. android:launchMode="singleTop"
  10. android:theme="@style/LaunchTheme"
  11. android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
  12. android:hardwareAccelerated="true"
  13. android:windowSoftInputMode="adjustResize">
  14. <!-- Specifies an Android theme to apply to this Activity as soon as
  15. the Android process has started. This theme is visible to the user
  16. while the Flutter UI initializes. After that, this theme continues
  17. to determine the Window background behind the Flutter UI. -->
  18. <meta-data
  19. android:name="io.flutter.embedding.android.NormalTheme"
  20. android:resource="@style/NormalTheme"
  21. />
  22. <!-- Displays an Android View that continues showing the launch screen
  23. Drawable until Flutter paints its first frame, then this splash
  24. screen fades out. A splash screen is useful to avoid any visual
  25. gap between the end of Android's launch screen and the painting of
  26. Flutter's first frame. -->
  27. <meta-data
  28. android:name="io.flutter.embedding.android.SplashScreenDrawable"
  29. android:resource="@drawable/launch_background"
  30. />
  31. <intent-filter>
  32. <action android:name="android.intent.action.MAIN"/>
  33. <category android:name="android.intent.category.LAUNCHER"/>
  34. </intent-filter>
  35. </activity>
  36. <!-- Don't delete the meta-data below.
  37. This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
  38. <meta-data
  39. android:name="flutterEmbedding"
  40. android:value="2" />
  41. </application>
  42. </manifest>