repeate layout same in kotlin by pressing layout code example Example: kotlin repeat n times repeat(repetitions) { // Do something }