resize Dialog
Resizes the dialog based on screen size ratios.
Width is calculated as screen width * widthRatio, or WRAP_CONTENT if null.
Height is calculated as screen height * heightRatio, or WRAP_CONTENT if null.
화면 크기 비율을 기반으로 다이얼로그 크기를 조정합니다.
너비는 화면 너비 * widthRatio로 계산되며, null이면 WRAP_CONTENT입니다.
높이는 화면 높이 * heightRatio로 계산되며, null이면 WRAP_CONTENT입니다.
Parameters
The ratio of screen width (0.0 to 1.0), or null for WRAP_CONTENT. Any non-null value outside 0.0..1.0 throws an exception.
화면 너비 비율 (0.0 ~ 1.0), null이면 WRAP_CONTENT입니다. null이 아닌 값이 0.0 ~ 1.0 범위를 벗어나면 예외가 발생합니다.
The ratio of screen height (0.0 to 1.0), or null for WRAP_CONTENT. Any non-null value outside 0.0..1.0 throws an exception.
화면 높이 비율 (0.0 ~ 1.0), null이면 WRAP_CONTENT입니다. null이 아닌 값이 0.0 ~ 1.0 범위를 벗어나면 예외가 발생합니다.