Android Dialog Hide Title

April 21, 2019
dialog.requestWindowFeature(Window.FEATURE_NO_TITLE)
class SyncSheetsDialog : DialogFragment() {
    override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
        dialog?.requestWindowFeature(Window.FEATURE_NO_TITLE)
        // return super.onCreateView(inflater, container, savedInstanceState)
        return activity!!.layoutInflater.inflate(R.layout.customdialog, container)
    }
}
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.