How to change the background color around a DialogFragment?

前端 未结 8 1851
时光取名叫无心
时光取名叫无心 2020-11-29 01:59

I\'m building a custom DialogFragment. The dialog layout is set to my_dialog.xml, but how can I modify the color around the dialog (the transparent

8条回答
  •  难免孤独
    2020-11-29 02:20

    I found I just needed to do this:

    
    

提交回复
热议问题