I have this layout for custom dialog, this works fine for normal and small devices, but in case of large devices it's width doesn't fit to width (fill parent) but I can manually give it some value in dp to achieve the size I want. I want to know why isn't fill parent working by default.I have this layout for custom dialog, this work