Jetpack Compose Tidbits — Series I: Text input — Part II

--

If you read part I of my article series on Text Input, you may know that in order for you to provide a mechanism for a user to input text into your app in Jetpack Compose, you need a TextField. An OutlinedTextField is another option that can be used for this. This composable takes precisely the same parameters as the TextField composable, with the difference being the way it looks.

See the below screenshots to see how an OutlinedTextField would appear:

OutlinedTextField (without focus, and with focus)

#Extra marks

As a reminder, an ordinary TextField looks like:

TextField (without focus, and with focus)

That’s all for this article, folks. I hope it is useful to someone on the same learning journey as myself.

The series continues soon, as I try to ‘learn-and-share.’ See you in the next one!

--

--