mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
* Add flutter_view sample * Removed platform_services files * Addressed comments * update README.md * Addressed comments.
32 lines
1.6 KiB
XML
32 lines
1.6 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.example.view"
|
|
android:versionCode="1"
|
|
android:versionName="0.0.1">
|
|
|
|
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="21" />
|
|
|
|
<!-- The INTERNET permission is required for development. Specifically, flutter needs it to communicate with the running application
|
|
to allow setting breakpoints, to provide hot reload, etc.
|
|
-->
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
|
|
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
|
|
calls FlutterMain.startInitialization(this); in its onCreate method.
|
|
In most cases you can leave this as-is, but you if you want to provide
|
|
additional functionality it is fine to subclass or reimplement
|
|
FlutterApplication and put your custom class here. -->
|
|
<application android:name="io.flutter.app.FlutterApplication" android:label="flutter_view" android:icon="@mipmap/ic_launcher">
|
|
<activity android:name=".MainActivity"
|
|
android:launchMode="singleTop"
|
|
android:theme="@style/Theme.AppCompat"
|
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection"
|
|
android:hardwareAccelerated="true"
|
|
android:windowSoftInputMode="adjustResize">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN"/>
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
</intent-filter>
|
|
</activity>
|
|
</application>
|
|
</manifest>
|