AppCompat v21 makes it easy to use Material Design EditText in our apps, but it's so limited. If you've tried that, you know what I mean. So I wrote MaterialEditText, the EditText in Material Design, with more features that Google Material Design Spec has introduced. Base color will be used as bottom line color, text color (reset alpha to 87%) and hint text color (reset alpha to 26%). You can use app:met_baseColor in xml or setBaseColor() in java code. If you haven't set a base color, black will be used. Primary color will be used as the activated bottom line color, highlight floating label color, and singleline ellipsis color. You can use app:met_primaryColor in xml or setPrimaryColor() in java code. If you haven't set a primary color, the base color will be used. Just use com.rengwuxian.materialedittext.MaterialEditText instead of EditText in your layout xml. MaterialEditText has directly inherited EditText, so you don't have to change your java code.

Features

  • Floating labels
  • Custom floating label text
  • Single line ellipsis
  • Max/Min characters
  • Helper text and error text
  • Custom accent typeface

Project Samples

Project Activity

See All Activity >

Categories

Text Editors

License

Apache License V2.0

Follow MaterialEditText

MaterialEditText Web Site

Other Useful Business Software
Outplacement, Executive Coaching and Career Development | Careerminds Icon
Outplacement, Executive Coaching and Career Development | Careerminds

Careerminds outplacement includes personalized coaching and a high-tech approach to help transition employees back to work faster.

By helping to avoid the potential risks of RIFs or layoffs through our global outplacement services, companies can move forward with their goals while preserving their internal culture, employer brand, and bottom lines.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of MaterialEditText!

Additional Project Details

Programming Language

Java

Related Categories

Java Text Editors

Registered

2021-09-06