Alexandru Hadăr
07/06/2021, 1:22 PMbeta-09
and rc01
)Alexandru Hadăr
07/06/2021, 1:22 PMDialogFragment
Alexandru Hadăr
07/06/2021, 1:23 PMAlexandru Hadăr
07/06/2021, 1:24 PMRow(
modifier = Modifier.fillMaxWidth(),
verticalAlignment = Alignment.CenterVertically,
) {
TextButton(
onClick = onDenyClick,
modifier = Modifier
.weight(1f, true)
.padding(top = 8.dp)
.clip(RoundedCornerShape(24.dp)),
) {
Text(stringResource(R.string.dont_allow), color = MaterialTheme.typography.body1.color)
}
HorizontalSpacer(12.dp)
Button(
onClick = onAllowClick,
modifier = Modifier
.weight(1f, true)
.clip(RoundedCornerShape(24.dp))
) {
Text(text = stringResource(id = R.string.ok))
}
}
Alexandru Hadăr
07/06/2021, 1:26 PMRow(
modifier = Modifier.fillMaxWidth(),
verticalAlignment = Alignment.CenterVertically,
) {
TextButton(
onClick = onDenyClick,
modifier = Modifier
.weight(1f, true)
.padding(top = 8.dp)
.clip(RoundedCornerShape(24.dp)),
) {
Text(stringResource(R.string.dont_allow), color = MaterialTheme.typography.body1.color)
}
HorizontalSpacer(12.dp)
Button(
onClick = onAllowClick,
modifier = Modifier
.weight(1f, true)
.clip(RoundedCornerShape(24.dp))
) {
Text("OK")
}
}
Alexandru Hadăr
07/06/2021, 1:26 PMstringResource
beforehand, but I get the same result.dimsuz
07/06/2021, 2:04 PMstrings.xml
? also can it be that some other module contains this string id and it gets merged in and contains some long text/newlines?Alexandru Hadăr
07/06/2021, 2:05 PMAlexandru Hadăr
07/06/2021, 2:09 PMAlexandru Hadăr
07/06/2021, 2:09 PM