I'd like to make the black background painted with arrows transparent in this picture What should I do?
final Dialog dialog = new Dialog(Screen1.this);
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
dialog.setContentView(R.layout.themechanger);
This is my sauce.
android android-dialog
In the code
dialog.getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT));
you can add it.
© 2024 OneMinuteCode. All rights reserved.