【问题标题】:Removing Background Blur Or Black Theme In Alert Dialog Box在警报对话框中删除背景模糊或黑色主题
【发布时间】:2022-10-06 00:28:15
【问题描述】:

这是我的代码,不能正常工作.....

getWindow().setBackgroundDrawable(newColorDrawable(android.graphics.Color.TRANSPARENT));

    标签: android database firebase-realtime-database google-maps-api-3 android-alertdialog


    【解决方案1】:

    //REMOVING BACKGROUND BLUR ON ALERT DIALOG BOX direction_Alert_Box.requestWindowFeature(Window.FEATURE_NO_TITLE); getWindow().setBackgroundDrawable(new ColorDrawable(android.graphics.Color.TRANSPARENT)); direction_Alert_Box.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);

    【讨论】:

      猜你喜欢
      • 2017-11-10
      • 2017-05-10
      • 2019-10-27
      • 2013-01-07
      • 1970-01-01
      • 2011-12-28
      • 1970-01-01
      • 2012-01-30
      • 1970-01-01
      相关资源
      最近更新 更多