All Projects → edgar-zigis → MaterialTextField

edgar-zigis / MaterialTextField

Licence: MIT license
Android EditText designed to match Material.IO Design Guidelines of 2019. RTL supported.

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to MaterialTextField

Android Material Design In Practice
A project to demonstrate the latest material design principles with simple examples. It has additional examples on how to easily scale texts on different screen sizes without extra effort.
Stars: ✭ 67 (+63.41%)
Mutual labels:  material-ui, textview
android-material-design-in-practice
A project to demonstrate the latest material design principles with simple examples. It has additional examples on how to easily scale texts on different screen sizes without extra effort.
Stars: ✭ 67 (+63.41%)
Mutual labels:  material-ui, textview
Material Admin
Free Material Admin Template
Stars: ✭ 219 (+434.15%)
Mutual labels:  material-ui
TypedTextView
Custom implementation of Android's TextView simulating a keyboard/type-writer.
Stars: ✭ 57 (+39.02%)
Mutual labels:  textview
React Cnodejs.org
Material UI version of cnodejs.org, the biggest Node.js Chinese community.
Stars: ✭ 242 (+490.24%)
Mutual labels:  material-ui
Ark
An easiest authentication system on top of NestJS, TypeORM, NEXT.js(v9.3) and Material UI(v4).
Stars: ✭ 228 (+456.1%)
Mutual labels:  material-ui
Builderbook
Open source web application to learn JS stack: React, Material-UI, Next.js, Node.js, Express.js, Mongoose, MongoDB database.
Stars: ✭ 3,015 (+7253.66%)
Mutual labels:  material-ui
Material Ui Search Bar
Material design search bar
Stars: ✭ 215 (+424.39%)
Mutual labels:  material-ui
SuperShapeView
A smart custom view support shapes for ImageView, TextView ,EditView ,instead of shape.xml.(自定义形状控件,支持TextView,EditText)
Stars: ✭ 60 (+46.34%)
Mutual labels:  textview
Materialbanner
A library that provides an implementation of the banner widget from the Material design.
Stars: ✭ 241 (+487.8%)
Mutual labels:  material-ui
ShapeView
打造万能shape,再也不用写很多xml了,可以当做TextView,Button,EditText等多种控件,方便实用
Stars: ✭ 34 (-17.07%)
Mutual labels:  textview
Alyle Ui
Minimal Design, a set of components for Angular 9+
Stars: ✭ 234 (+470.73%)
Mutual labels:  material-ui
Vue Material Kit
Vue Material Kit - Open Source Material Design UI Kit
Stars: ✭ 231 (+463.41%)
Mutual labels:  material-ui
Nytimes App
🗽 A Simple Demonstration of the New York Times App 📱 using Jsoup web crawler with MVVM Architecture 🔥
Stars: ✭ 246 (+500%)
Mutual labels:  material-ui
Jqwidgets
Angular, Vue, React, Web Components, Blazor, Javascript, jQuery and ASP .NET Framework,
Stars: ✭ 227 (+453.66%)
Mutual labels:  material-ui
CountDownTextView
A count down widget for verify code
Stars: ✭ 22 (-46.34%)
Mutual labels:  textview
Bottomsheet
BottomSheet dialog library for Android
Stars: ✭ 219 (+434.15%)
Mutual labels:  material-ui
Motion Shapeofview
Explain how to use MotionLayout with ShapeOfView
Stars: ✭ 236 (+475.61%)
Mutual labels:  material-ui
Material Element
An Android app which provides example of implementing material design animation.
Stars: ✭ 244 (+495.12%)
Mutual labels:  material-ui
FormToolbar
Simple, movable and powerful toolbar for UITextField and UITextView.
Stars: ✭ 85 (+107.32%)
Mutual labels:  textview

MaterialTextField Maven Central

Custom EditText which follows the latest Material guidelines with animated underline and custom error settings.

Minimum target SDK: 17. RTL SUPPORTED.

alt text

Gradle

Make sure you have Maven Central included in your gradle repositories.

allprojects {
    repositories {
        mavenCentral()
    }
}
implementation 'com.bio-matic:materialtextfield:1.4.6'

Proguard

In order to preserve underline animation, please include this into proguard file.

-keep class com.zigis.materialtextfield.** { *; }

Usage

<com.zigis.materialtextfield.MaterialTextField
    android:id="@+id/mail"
    android:layout_width="match_parent"
    android:layout_height="wrap_content" <!-- default 56dp -->
    android:hint="E-mail"
    android:text="[email protected]"
    app:togglePasswordVisibility="true" <!-- enable password toggle support -->
    app:isMultilineField="true" <!-- enable multiline support -->
    app:underlineHeight="1.5dp" <!-- set underline height -->
    app:isClearEnabled="true" <!-- toggle clear button, default true -->
    app:rightIcon="@drawable/ic_clear" <!-- set custom right icon, default null -->
    app:rightButtonColor="@color/grey" <!-- set right icon tint, default grey -->
    app:cursorDrawableColor="@color/colorAccent" <!-- change cursor, selection & selection handles color -->
    app:defaultHintColor="@android:color/darker_gray" <!-- set inactive hint color -->
    app:activeHintColor="@android:color/holo_blue_dark" <!-- set floating hint color -->
    app:defaultUnderlineColor="@android:color/darker_gray" <!-- set non-focused underline color -->
    app:activeUnderlineColor="@android:color/holo_blue_dark" <!-- set focused underline color -->
    app:errorColor="@android:color/holo_red_dark" /> <!-- set error icon, text and underline color -->

Remarks

At the moment height is automatically overriden to match original Material guideline height. Also consider using margins instead of padding.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].