AndroidManifest.xml 1.87 KB
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1 2 3 4
<!-- Copyright 2014 The Flutter Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->

5
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
6 7 8 9 10 11 12 13 14 15 16 17

    <!-- 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" />

    <application
        android:icon="@mipmap/ic_launcher"
        android:label="platform_view">
        <activity
            android:name="io.flutter.examples.platform_view.MainActivity"
18
            android:exported="true"
19
            android:theme="@android:style/Theme.Black.NoTitleBar"
20
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
21 22 23 24 25 26 27 28 29 30 31
            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>
        <activity
            android:name="io.flutter.examples.platform_view.CountActivity"
            android:parentActivityName="io.flutter.examples.platform_view.MainActivity"
            android:theme="@style/Theme.AppCompat.NoActionBar"
32
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale"></activity>
33 34 35 36 37
    <!-- Don't delete the meta-data below.
         This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />
38 39
    </application>
</manifest>