How to make an Alert dialog in full screen in Android?

前端 未结 4 2224
半阙折子戏
半阙折子戏 2021-02-19 01:16

How to make an Alert Dialog in full screen in Android?

4条回答
  •  别那么骄傲
    2021-02-19 01:49

    Try below code

    AlertDialog.Builder alertDialog = new AlertDialog.Builder(this,android.R.style.Theme_Black_NoTitleBar_Fullscreen);
    

提交回复
热议问题