AndroidManifest.xml 2.1 KB
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.br_technology.securitytrain_master">

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/Theme.SecurityTrainMaster">
        <meta-data
            android:name="design_width_in_dp"
            android:value="375" />
        <meta-data
            android:name="design_height_in_dp"
            android:value="812" />

        <meta-data
            android:name="android.max_aspect"
            android:value="2.4" />

        <!--适配华为(huawei)刘海屏-->
        <meta-data
            android:name="android.notch_support"
            android:value="true" />
        <!--适配小米(xiaomi)刘海屏-->
        <meta-data
            android:name="notch.config"
            android:value="portrait|landscape" />


        <activity android:name=".ui.login.AccountLoginActivity">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity
            android:name=".ui.main.MainActivity"
            android:screenOrientation="portrait" />

        <activity
            android:name=".ui.login.ForgetPasswordActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.login.MobileLoginActivity"
            android:screenOrientation="portrait" />
        <activity
            android:name=".ui.home.activity.SearchActivity"
            android:screenOrientation="portrait" />
        <activity android:name=".ui.home.activity.DatabaseActivity" />


    </application>

</manifest>