# Pixel Perfect - Text Input (Part 2)

DevFeed: [Pixel Perfect - Text Input (Part 2)](<https://devfeed.tech/articles/pixel-perfect-text-input-part-2-19434.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/pixel-perfect-text-input-part-2/>)

Author: Shai Almog

Published: 2017-10-31T00:00:00Z

Content type: article

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [ui](<https://devfeed.tech/topics/ui.md>), [Android](<https://devfeed.tech/topics/android.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [code](<https://devfeed.tech/tags/code.md>), [ios](<https://devfeed.tech/tags/ios.md>), [layout](<https://devfeed.tech/tags/layout.md>), [native](<https://devfeed.tech/tags/native.md>), [ui](<https://devfeed.tech/tags/ui.md>)

## AI overview

This article presents the second part of Codename One's work on text input components. It discusses replacing a problematic floating-hint approach with a component that combines text fields and labels, supports standard error messages, and provides platform-specific layouts for Android and iOS.

## Source excerpt

Last week we discussed the first part of working with text components and left some big tasks for this week. This week we'll try to address the remaining issues with text input and make it easier to construct UI's. This is crucial as we'll be going into code freeze soon and we need enough time to iron out the issues in the text input. Last week I ended the post with this set of tasks: