AndroidFloatLabel alternatives and similar packages
Based on the "TextView/EditText Widget" category.
Alternatively, view AndroidFloatLabel alternatives based on common mentions on social networks and blogs.
-
ExpandableTextView
Android's TextView that can expand/collapse like the Google Play's app description -
android-autofittextview
A TextView that automatically resizes text to fit perfectly within its bounds. -
android-edittext-validator
Android form edit text is an extension of EditText that brings data validation facilities to the edittext. -
AutoLinkTextView
AutoLinkTextView is TextView that supports Hashtags (#), Mentions (@) , URLs (http://), Phone and Email automatically detecting and ability to handle clicks. -
Android-RobotoTextView
Implementation of a TextView and all its direct/indirect subclasses with native support for the Roboto fonts, includes the brand new Roboto Slab fonts. -
WaitingDots
Small library that provides... bouncing dots. This feature is used in number of messaging apps (such as Hangouts or Messenger), and lately in Android TV (for example when connecting to Wifi). -
SecretTextView
A TextView that simulates the effect from the app Secret where the characters fade in/out at different speeds. -
AwesomeText
A tool that facilitates working with Spans on TextViews or any extension of them (EditTexts, Buttons...). -
Masked-Edittext
Android library contain custom realisation of EditText component for masking and formatting input text -
AnimatedEditText
Androids EditText that animates the typed text. EditText is extended to create AnimatedEditText and a PinEntryEditText. -
chips-edittext-library
Chips EditText, Token EditText, Bubble EditText, Spannable EditText and etc.. There are many names of this control. Here I develop easy to understand , modify and integrate Chips Edit Text widget for Android -
EmailAutoCompleteTextView
An AutoCompleteTextView with builtin Adapter with the emails in the device. -
CurrencyEditText
A module designed to encapsulate the use of an Android EditText field for gathering currency information from a user. Supports all ISO-3166 compliant locales/currencies. -
AutosizeEditText
AutosizeEditText for Android is an extension of native EditText that offer a smooth auto scale text size. -
Android-SingleInputForm
A single EditText instead of a classical form. Library that implements flavienlaurent's singleinputform -
anytextview
An extension of Android's TextView, EditText and Button that let's you use the font of your choice -
android-formidable-validation
Form validation and feedback library for Android. Provides .setText for more than just TextView and EditText widgets. Provides easy means to validate with dependencies. -
MaskFormatter
Add text masking functionality to Android EditText. It will prevent user from inserting not allowed signs, and format input as well. -
KerningViews
Provides a set of views which allows to adjust the spacing between the characters of that view, AKA, Kerning effect. -
SimpleLinkableText
Simple way to create linked text, such as @username or #hashtag, in Android TextView and EditText
WorkOS - The modern identity platform for B2B SaaS
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of AndroidFloatLabel or a related project?
README
Floating Label Edit Text for Android
For more info, see this blog post.
Salient features
- Simple and clean library (open up the source to see for yourself!)
- Ability to stretch EditText width to full/half screen
- Hides input for password fields too, but shows labels
- Customizable attributes for textSize, hint color (focused/unfocused)
- Custom Espresso test matcher for your testing needs!
- Maven repo (coming soon...)
Goals for this project
Having goals for a project, keep a quality check and help with learning. Since I intended this to be a community project, the goals are aligned, keeping that fact in mind. The goals for this project are as follows:
- Code should be ridiculously readable. Must read as fluently as pseudocode.
- Code must be tested
- Git commits should be clean and legible. Try to follow AngularJs commit types.
- Super DRY code! You cannot have two sets of lines repeating within the same file.
Gotchas
1. Overriding the onFocusChangeListener for the EditText
If you're setting an onFocusChange listener directly on the EditText, you might lose the color changes on the hint when changing focus. You probably want to add a TextChangeListener instead.
Contributors:
Credit:
- Matt D.Smith for coming up with the concept
- Wedding Party for being an amazing organization and encourgaing such indulgences
Developers
- Kaushik Gopal
- Reza - Gravity support