We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ec1df7 commit f187aadCopy full SHA for f187aad
collect_app/src/main/java/org/odk/collect/android/widgets/TextWidgetAnswer.kt
@@ -52,7 +52,12 @@ fun TextWidgetAnswer(
52
Spacer(modifier = Modifier.width(dimensionResource(id = dimen.margin_small)))
53
Text(
54
text = answer,
55
- style = TextStyle(fontSize = fontSize.sp)
+ style = MaterialTheme.typography.bodyLarge.copy(
56
+ fontSize = fontSize.sp,
57
+ color = MaterialTheme.colorScheme.onSurface.copy(
58
+ alpha = dimen.high_emphasis.toFloat()
59
+ )
60
61
)
62
}
63
0 commit comments