Is there a default padding end/start for AlertDialog ? I was checking my implementation on a small d...
l
Is there a default padding end/start for AlertDialog ? I was checking my implementation on a small device (3.7" - 480*854 - hdpi) but these padding are missing. As you can see on attached screenshot the alertDialog on the small device, the dialog is taking fullscreen width. Strangely it's working fine on bigger devices. Why so ? I checked on Compose sample and they never customize the modifier parameter of Alertdialog. What is the intended behaviour ? Should we always implement our own start/end padding to avoid this issue or is it a bug from AlertDialog implementation in Compose ?
2
By the way if I add my own start/padding it is added from the existing one for other device.
Here is an example on Nexus 4, without adding a start/end padding it's fine. But if I had my own (to fix the issue with the 480*854 device), the padding from my modifier is added to the existing one