Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/florent37/materialtextfield
A different beautiful Floating Edit Text
https://github.com/florent37/materialtextfield
android field material material-design text
Last synced: 2 days ago
JSON representation
A different beautiful Floating Edit Text
- Host: GitHub
- URL: https://github.com/florent37/materialtextfield
- Owner: florent37
- License: apache-2.0
- Archived: true
- Created: 2015-08-27T07:53:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-07-02T11:48:06.000Z (over 4 years ago)
- Last Synced: 2024-09-27T04:01:59.343Z (4 months ago)
- Topics: android, field, material, material-design, text
- Language: Java
- Homepage:
- Size: 4.36 MB
- Stars: 1,491
- Watchers: 54
- Forks: 240
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MaterialTextField
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-MaterialTextField-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/2400)
A different beautiful Floating Edit Text
[![screen](https://raw.githubusercontent.com/florent37/MaterialTextField/master/screens/2_small.png)](https://www.youtube.com/watch?v=Rax_o3URazU)
[![screen](http://i.giphy.com/l41lVkA0YkaZWNT0I.gif)](https://www.youtube.com/watch?v=Rax_o3URazU)
# Usage
Surround your EditText by a MaterialTextField
```xml
```
Don't forget to precise a drawable to **mtf_image**
```xml
app:mtf_image="@drawable/ic_mail_grey600_24dp"
```# Available attributes
```xml
```
# Download
In your module [![Download](https://api.bintray.com/packages/florent37/maven/MaterialTextField/images/download.svg)](https://bintray.com/florent37/maven/MaterialTextField/_latestVersion)
```groovy
implementation 'com.github.florent37:materialtextfield:1.0.7'
```# Log
1.0.6
- support focusability
- added `app:mtf_hasFocus="false"`1.0.3
- removed some dependencies
- fix for 4.41.0.2
- backport fix for Pre-Lollipop
- added mtf_cardCollapsedHeight attribute# Credits
Author: Florent Champigny
Fiches Plateau Moto : [https://www.fiches-plateau-moto.fr/](https://www.fiches-plateau-moto.fr/)
Designer: Srikant Shetty
Originally designed on MaterialUp : [http://www.materialup.com/posts/new-material-text-fields-application](http://www.materialup.com/posts/new-material-text-fields-application)
License
--------Copyright 2015 florent37, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.