'How to disable split screen in android?
Hello how can i disable split screen in Redmi Note 7 (Android 10 - MIUI 12.5.1)?
Already tried this 2 codes but not working
<activity
android:name=".activities.SplashScreenActivity"
android:label="@string/app_name"
android:theme="@style/splashScreenTheme"
android:resizeableActivity="false">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
And
<application
android:name=".activity.MyApplication"
android:allowBackup="true"
android:icon="@drawable/btn_share_myapplication"
android:label="@string/app_name"
android:resizeableActivity="false"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".activity.SplashActivity"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity... />
</application>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
