I have this layout where I have a row with multiple Texts. Now I noticed that the last text is arranged weirdly. Is it possible to put multiple Texts in a row and then go to the next line when the row is full (like a column?)
Geert
03/25/2021, 10:47 AM
This is my code:
Copy code
fun TimingView(timing: AdministrationScheduleViewModelData) {
Text(timing.scheduleText ?: "")
}
Row(horizontalArrangement = Arrangement.spacedBy(4.dp)) {
TimingView(instructions.timing)
if (instructions.isDoseAvailable) {
Text(instructions.dose!!)
}
if (instructions.isMaxDosePerPeriodAvailable) {
Text(instructions.maxDosePerPeriod!!)
}
}