Styling titleDivider in Dialog

后端 未结 15 1038
面向向阳花
面向向阳花 2020-12-06 05:27

I am wondering how it is possible to get rid of (or change color) titleDivider in Dialog. It is a blue line below dialog title shown on honeycomb+ devices.

15条回答
  •  余生分开走
    2020-12-06 05:51

    Your idea was correct. However, dialogTitleDecorLayout you were looking for is a private resource, so you can't access it in a normal way. But you still can access it using * syntax:

    @layout/dialog_title
    

    Adding this to my own style and simply copying dialog_title.xml to my app and changing it slightly solved the problem in my case.

提交回复
热议问题