Fill the space at the bottom of screen in AlertDialog
I have used a constraint layout and set both height and width to match_parent but still, there's some space I can't seem to get rid of. And also I'm using this layout for an AlertDialog. I tried creating a style for it but that doesn't seem to work either. Does anyone know how to fix this?
Layout:
AlertDialog:
val view = View.inflate(this, R.layout.no_internet_alert, null)
val builder = AlertDialog.Builder(this,...