Styling titleDivider in Dialog

后端 未结 15 1031
面向向阳花
面向向阳花 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:36

    These is no way hiding it by control brotha.. I've had the same problem. only thing you can do is create your own CustomDialog

    Here is a sample App

    Download and have look at the design pattern, then it will be easy

    Here is one Tutorial About making Custom Dialog

    Important part is after creating the DialogObject don't set the Title by setTitle() create TextView inside your CustomLayout and call it from findViewByID() and set your title

提交回复
热议问题