Issue
I'd like to change the input font size in TextField of Android Jetpack Compose because it's very small now. Like this
Solution
According to the documentation, there is a parameter textStyle
that takes TextStyle
that allows you to set font size via fontSize
.
You can do the following and it will set the font size to 28 sp
TextField(value = "", onValueChange = {}, textStyle = TextStyle.Default.copy(fontSize = 28.sp))
Answered By - undermark5
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.