getDisplaySize

fun Context.getDisplaySize(): Point

See also

android.view.Display