如何使Android dialog弹出后的Android activity背景不变暗

2025-03-21 08:35:41
推荐回答(1个)
回答1:

WindowManager.LayoutParams lp = myDialog.getWindow().getAttributes();
lp.dimAmount = 0.7f