{"id":3524,"url":"https://github.com/hardik-trivedi/FloatingLabel","last_synced_at":"2025-08-03T20:32:30.274Z","repository":{"id":14563174,"uuid":"17278984","full_name":"hardik-trivedi/FloatingLabel","owner":"hardik-trivedi","description":"Android Floating Label","archived":false,"fork":false,"pushed_at":"2017-04-18T09:51:46.000Z","size":1311,"stargazers_count":292,"open_issues_count":4,"forks_count":58,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-11-06T20:11:48.658Z","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/hardik-trivedi.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":"2014-02-28T07:41:00.000Z","updated_at":"2024-09-18T15:58:13.000Z","dependencies_parsed_at":"2022-08-26T23:10:34.663Z","dependency_job_id":null,"html_url":"https://github.com/hardik-trivedi/FloatingLabel","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardik-trivedi%2FFloatingLabel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardik-trivedi%2FFloatingLabel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardik-trivedi%2FFloatingLabel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hardik-trivedi%2FFloatingLabel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hardik-trivedi","download_url":"https://codeload.github.com/hardik-trivedi/FloatingLabel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228520923,"owners_count":17932654,"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-01-05T20:16:43.956Z","updated_at":"2024-12-07T05:30:36.580Z","avatar_url":"https://github.com/hardik-trivedi.png","language":"Java","funding_links":[],"categories":["Libraries","Libs","库"],"sub_categories":["GUI","\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget","[](https://github.com/JStumpp/awesome-android/blob/master/readme.md#inputs)输入"],"readme":"FloatingLabel\n=============\n\nFloatingLabel Allows you to create a blow kind of EditText.\n\nTo explain the concept well I have taken below image from http://dribbble.com/shots/1254439--GIF-Float-Label-Form-Interaction\n\n![Animation Example](/form-animation-_gif_-1.gif)\n\n\nFloating Lable project is in initial mode, where a few customization is provided like changing Text color of EditText and Its Lable\n\n\n```java\n\u003ccom.hardik.floatinglabel.FloatingLabelView\n        android:id=\"@+id/label1\"\n        android:layout_width=\"fill_parent\"\n        android:layout_height=\"wrap_content\"\n        floatview:floatHintText=\"Whatever hint you want to display\"\n        floatview:textColor=\"@color/blue\"\n        floatview:textTypeface=\"some_custome_font.ttf\"/\u003e\n```\n## Features \n* [Float Hint Text](#float-hint-text)\n* [Float Hint Text Color](#float-hint-text-color)\n* [Float Hint Text Style](#float-hint-text-style)\n* [Float Hint Text Gravity](#float-hint-text-gravity)\n* [Float Hint Text Size](#float-hint-text-size)\n* [Float Hint Text Custom Typeface](#float-hint-text-custom-typeface)\n* [Float Hint Text Background](#float-hint-text-background)\n* [Actual Text](#actual-text)\n* [Actual Text Color](#actual-text-color)\n* [Actual Text Style](#actual-text-style)\n* [Actual Text Gravity](#actual-text-gravity)\n* [Actual Text Size](#actual-text-size)\n* [Actual Text Custom Typeface](#actual-text-custom-typeface)\n* [Actual Text Background](#actual-text-background)\n* [Actual Text As Password](#actual-text-as-password)\n\n\n### Float Hint Text\n* Specifies the text for float hint label\n```Android\n\tfloatview:floatHintText=\"@string/app_name\"\n```\n### Float Hint Text Color\n* Specifies text color for float hint label both for focused mode and unfocused mode\n```Android\n\tfloatview:floatHintTextColorFocused=\"@color/blue\"\n        floatview:floatHintTextColorUnFocused=\"@color/green\"\n```\n### Float Hint Text Style\n* Specifies the text style, bold,normal,italic\n```Android\n\tfloatview:floatHintTextStyle=\"bold\"\n```\n### Float Hint Text Gravity\n* Specifies gravity of text left,right,top,bottom\n```Android\n\tfloatview:floatHintTextGravity=\"right\"\n```\n### Float Hint Text Size\n* Specifies text size\n```Android\n\tfloatview:floatHintTextSize=\"20\"\n```\n### Float Hint Text Custom Typeface\n* Specifies custom font. (It has to be in to the assets folder e.g. /assets/some_font.ttf)\n```Android\n\tfloatview:floatHintTextTypeface=\"Ithornet.ttf\"\n```\n### Float Hint Text Background\n* Specifies custom background. You can specify both color and drawable.\n```Android\n\tfloatview:floatHintTextBackground=\"@drawable/label_bg\"\n```\n### Actual Text\n* Specifies the text for editable text box\n```Android\n\tfloatview:text=\"Label 1\"\n```\n### Actual Text Color\n* Specifies text color for editable text box\n```Android\n\tfloatview:textColor=\"@color/red\"\n```\n### Actual Text Style\n* Specifies the text style, bold,normal,italic\n```Android\n\tfloatview:textStyle=\"bold\"\n```\n### Actual Text Gravity\n* Specifies gravity of text left,right,top,bottom\n```Android\n\tfloatview:textGravity=\"right\"\n```\n### Actual Text Size\n* Specifies text size\n```Android\n\tfloatview:textSize=\"20\"\n```\n### Actual Text Custom Typeface\n* Specifies custom font. (It has to be in to the assets folder e.g. /assets/some_font.ttf)\n```Android\n\tfloatview:textTypeface=\"Ithornet.ttf\"\n```\n### Actual Text Background\n```Android\n\tfloatview:textBackground=\"@drawable/edt_bg\"\n```\n### Actual Text As Password\n```Android\n\tfloatview:isPassword=\"true\"\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardik-trivedi%2FFloatingLabel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardik-trivedi%2FFloatingLabel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardik-trivedi%2FFloatingLabel/lists"}