Calling android dialog without it fading the background

前端 未结 4 560
花落未央
花落未央 2020-11-29 02:08

I have this nice dialog view I set my UserInputDialog class to:

    

        
4条回答
  •  独厮守ぢ
    2020-11-29 03:00

    Create a custom style and place it in your values folder

    
    
      
     
    

    To set a style to an individual dialog you can use

    Dialog dialog = new Dialog(context, R.style.YourCustomStyle);
    

提交回复
热议问题