An Android library for creating floating label EditText views with customizable text, style, and background properties.
FloatingLabel is an Android library that provides a customizable FloatingLabelView component to create floating label text fields. It solves the problem of implementing the floating label pattern—where hint text animates to become a persistent label—with extensive styling options for both the label and the editable text area. This enhances form usability by keeping input context visible.
Android developers building forms or input-heavy applications who want to implement the floating label UI pattern with custom styling to match their app's design language.
Developers choose FloatingLabel for its declarative XML configuration and wide range of customization options—like colors, fonts, backgrounds, and text properties—without needing to write complex animation or styling code from scratch.
Android Floating Label
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows setting up floating labels directly in layout files with intuitive attributes like floatHintText and textColor, reducing boilerplate animation code.
Supports customization of colors, fonts, sizes, backgrounds, and gravity for both the floating label and input text, as detailed in the README's attribute list.
Provides separate color settings for focused and unfocused modes (floatHintTextColorFocused and UnFocused), enhancing visual feedback during user interaction.
Enables use of typefaces from the assets folder for both label and input, facilitating brand consistency without extra code.
The README states the project is in 'initial mode,' indicating limited features, potential bugs, and fewer updates compared to mature libraries.
No built-in support for error handling, validation, or accessibility enhancements, requiring additional implementation for complete forms.
As a smaller library, it has minimal community activity, few examples, and basic README documentation, which could hinder troubleshooting.