You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am watching the code to show the splash but i didn't see how to enable or show in fullscreen my splash
I thing we can get this feature modify this block of code
public static void show(final Activity activity, final int themeResId, final boolean fullScreen) {
if (activity == null) return;
mActivity = new WeakReference<Activity>(activity);
activity.runOnUiThread(new Runnable() {
@Override
public void run() {
if (!activity.isFinishing()) {
mSplashDialog = new Dialog(activity, themeResId);
mSplashDialog.setContentView(R.layout.launch_screen);
mSplashDialog.setCancelable(false);
if (fullScreen) {
setActivityAndroidP(mSplashDialog);
}
if (!mSplashDialog.isShowing()) {
mSplashDialog.show();
}
}
}
});
adding this line dialog.getWindow().setFlags(LayoutParams.FLAG_FULLSCREEN, LayoutParams.FLAG_FULLSCREEN); or this one dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
The text was updated successfully, but these errors were encountered:
I am watching the code to show the splash but i didn't see how to enable or show in fullscreen my splash
I thing we can get this feature modify this block of code
adding this line
dialog.getWindow().setFlags(LayoutParams.FLAG_FULLSCREEN, LayoutParams.FLAG_FULLSCREEN);
or this onedialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
The text was updated successfully, but these errors were encountered: