How to add title to the custom Dialog?

后端 未结 7 593
猫巷女王i
猫巷女王i 2021-01-12 20:37

How can i add title to this custom dialog??

\"enter

I have tried like this

7条回答
  •  情话喂你
    2021-01-12 21:13

    This question is old, but my solution is using an relative layout within the main relative layout. That way you can create your own title. It doesn't see a top TextView as a title if you use it that way:

      
      
     
     
     
    
     
    
     

    This seems to be the easiest way.

提交回复
热议问题