Dialog는 특별한 처리를 하지 않는한 내부 content의 크기를 최대 크기로 가지게 됩니다. (wrap_content)
주어지는 화면 크기에 따라 가변 길이를 가지게 하려면 Dialog에 할당된 window의 크기를 직접 설정해 줘야합니다.
Point windowSize = new Point();
dialog.getWindow().getWindowManager().getDefaultDisplay().getSize(windowSize);
dialog.getWindow().setLayout((int)(windowSize.x*0.9), WindowManager.LayoutParams.WRAP_CONTENT);