{"id":13396246,"url":"https://github.com/wrapp-archive/floatlabelededittext","last_synced_at":"2025-12-16T20:26:59.537Z","repository":{"id":11649812,"uuid":"14156568","full_name":"wrapp-archive/floatlabelededittext","owner":"wrapp-archive","description":"Floating hint from edit text - inspired by Matt D. Smith's design: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users","archived":false,"fork":false,"pushed_at":"2015-09-09T11:51:52.000Z","size":716,"stargazers_count":1137,"open_issues_count":15,"forks_count":220,"subscribers_count":70,"default_branch":"master","last_synced_at":"2025-04-10T18:17:09.122Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wrapp-archive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-05T22:53:50.000Z","updated_at":"2025-01-20T09:00:52.000Z","dependencies_parsed_at":"2022-09-10T23:40:54.887Z","dependency_job_id":null,"html_url":"https://github.com/wrapp-archive/floatlabelededittext","commit_stats":null,"previous_names":["wrapp/floatlabelededittext"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrapp-archive%2Ffloatlabelededittext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrapp-archive%2Ffloatlabelededittext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrapp-archive%2Ffloatlabelededittext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wrapp-archive%2Ffloatlabelededittext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wrapp-archive","download_url":"https://codeload.github.com/wrapp-archive/floatlabelededittext/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345273,"owners_count":21088244,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T18:00:43.077Z","updated_at":"2025-12-16T20:26:54.470Z","avatar_url":"https://github.com/wrapp-archive.png","language":"Java","readme":"Float Labeled EditText\n==============\n\nSimple 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.\n\niOS implementation by [@jverdi](http://www.twitter.com/jverdi): [JVFloatLabeledTextField](https://github.com/jverdi/JVFloatLabeledTextField) \n\nCredits for the concept to Matt D. Smith ([@mds](http://www.twitter.com/mds)).\n\n![Android Version](http://i.imgur.com/ucRd1jm.gif)\n\nhttp://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users\n\nNotice\n==============\n\nThe usage has significantly changed in version 0.0.5 inspired by [chrisbanes](https://github.com/chrisbanes) [implementation](https://gist.github.com/chrisbanes/11247418) which makes styling easier. If you want to use the old style, use version 0.0.4.\n\n\nUsage\n=====\n\nAdd the library project or grab to build.gradle:\n```groovy\ncompile 'com.wrapp.floatlabelededittext:library:0.0.6'\n```\nor plain maven:\n```maven\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.wrapp.floatlabelededittext\u003c/groupId\u003e\n  \u003cartifactId\u003elibrary\u003c/artifactId\u003e\n  \u003cversion\u003e0.0.6\u003c/version\u003e\n  \u003ctype\u003eaar\u003c/type\u003e\n\u003c/dependency\u003e\n```\nand then insert the view in XML:\n\n```xml\n    \u003ccom.wrapp.floatlabelededittext.FloatLabeledEditText\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\u003e\n\n        \u003cEditText\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:hint=\"This is the hint\" /\u003e\n    \u003c/com.wrapp.floatlabelededittext.FloatLabeledEditText\u003e\n\n    \u003c!-- add some padding --\u003e\n    \u003ccom.wrapp.floatlabelededittext.FloatLabeledEditText\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        float:fletPadding=\"10dp\"\u003e\n\n        \u003cEditText\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:hint=\"Username\" /\u003e\n    \u003c/com.wrapp.floatlabelededittext.FloatLabeledEditText\u003e\n\n    \u003c!-- password input --\u003e\n    \u003ccom.wrapp.floatlabelededittext.FloatLabeledEditText\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        float:fletPaddingBottom=\"10dp\"\u003e\n\n        \u003cEditText\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:hint=\"Password\"\n            android:inputType=\"textPassword\" /\u003e\n    \u003c/com.wrapp.floatlabelededittext.FloatLabeledEditText\u003e\n\n    \u003c!-- change color of hint text--\u003e\n    \u003ccom.wrapp.floatlabelededittext.FloatLabeledEditText\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        float:fletPaddingBottom=\"10dp\"\n        float:fletTextAppearance=\"@style/floatlabelededittext\"\u003e\n\n        \u003cEditText\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:hint=\"Styled Hint\"\n            android:inputType=\"textPassword\" /\u003e\n    \u003c/com.wrapp.floatlabelededittext.FloatLabeledEditText\u003e\n```\nDeveloped By\n============\n\n* Henrik Sandström [@heinrisch](https://twitter.com/Heinrisch)\n\nStyled By\n=========\n\n* Marcus Gellemark [Dribbble](http://dribbble.com/Gellermark)\n\nAdditional Credit\n=================\n\n* Chris Banes [chrisbanes](https://github.com/chrisbanes)\n* Quentin DOMMERC [dommerq](https://github.com/dommerq)\n* Aaron Rietschlin [@AaronRietschlin](https://twitter.com/AaronRietschlin)\n* Guillaume Imbert [HozakaN](https://github.com/HozakaN)\n\n\n\nLicense\n=======\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","funding_links":[],"categories":["Index `(light-weight pages)`","Index"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrapp-archive%2Ffloatlabelededittext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwrapp-archive%2Ffloatlabelededittext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwrapp-archive%2Ffloatlabelededittext/lists"}