Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
F

floatlabelededittext

> 编程语言
Open source

Floating hint from edit text - inspired by Matt D. Smith's design: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users

1.1K stars0 likes1 views
WebsiteGitHub

About

Floating hint from edit text - inspired by Matt D. Smith's design: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users

Float Labeled EditText

Simple implementation of a Float Labeled EditText: An Android ViewGroup which uses a child EditText and puts the hint on top of the EditText when it is populated with text.

iOS implementation by @jverdi: JVFloatLabeledTextField

Credits for the concept to Matt D. Smith (@mds).

http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users

Notice

The usage has significantly changed in version 0.0.5 inspired by chrisbanes implementation which makes styling easier. If you want to use the old style, use version 0.0.4.

Usage

Add the library project or grab to build.gradle:

groovy
compile 'com.wrapp.floatlabelededittext:library:0.0.6'

or plain maven:

maven

  com.wrapp.floatlabelededittext
  library
  0.0.6
  aar

and then insert the view in XML:

xml
    

        
    

    
    

        
    

    
    

        
    

    
    

        
    

Developed By

  • Henrik Sandström @heinrisch

Styled By

  • Marcus Gellemark Dribbble

Additional Credit

  • Chris Banes chrisbanes
  • Quentin DOMMERC dommerq
  • Aaron Rietschlin @AaronRietschlin
  • Guillaume Imbert HozakaN

License

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 at http://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.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Java

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言