AndroidManifest.xml 2.6 KB

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