Closed hahaha28 closed 5 years ago
In your code
decorView = activity.getWindow().getDecorView().findViewById(android.R.id.content); ... decorView.addView(view);
why not use
decorView = activity.getWindow().getDecorView().
You add view in the contentView not the decorView.
In your code
why not use
You add view in the contentView not the decorView.