{"id":15109597,"url":"https://github.com/florent37/viewtooltip","last_synced_at":"2025-09-27T10:31:49.308Z","repository":{"id":50731984,"uuid":"93743805","full_name":"florent37/ViewTooltip","owner":"florent37","description":"A fluent tooltip for Android","archived":true,"fork":false,"pushed_at":"2020-07-02T11:44:20.000Z","size":1540,"stargazers_count":1078,"open_issues_count":44,"forks_count":131,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-09-25T23:05:20.149Z","etag":null,"topics":["activity","android","custom","edittext","fragment","gravity","hint","indicator","material","sample","show","showcase","tooltip","tutorial","view"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/florent37.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"ko_fi":"FlorentChampigny","github":"florent37"}},"created_at":"2017-06-08T11:55:01.000Z","updated_at":"2024-09-23T06:46:20.000Z","dependencies_parsed_at":"2022-09-03T08:21:08.466Z","dependency_job_id":null,"html_url":"https://github.com/florent37/ViewTooltip","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FViewTooltip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FViewTooltip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FViewTooltip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/florent37%2FViewTooltip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/florent37","download_url":"https://codeload.github.com/florent37/ViewTooltip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219871972,"owners_count":16554475,"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":["activity","android","custom","edittext","fragment","gravity","hint","indicator","material","sample","show","showcase","tooltip","tutorial","view"],"created_at":"2024-09-25T23:05:23.700Z","updated_at":"2025-09-27T10:31:48.902Z","avatar_url":"https://github.com/florent37.png","language":"Java","readme":"# ViewTooltip\n\n[![screen](https://raw.githubusercontent.com/florent37/ViewTooltip/master/medias/with_border.gif)](https://www.github.com/florent37/ViewTooltip)\n\n```java\nViewTooltip\n        .on(this, editText)\n        .autoHide(true, 1000)\n        .corner(30)\n        .position(ViewTooltip.Position.RIGHT)\n        .text(\"Right\")\n        .show();\n```\n\n\u003ca href=\"https://goo.gl/WXW8Dc\"\u003e\n  \u003cimg alt=\"Android app on Google Play\" src=\"https://developer.android.com/images/brand/en_app_rgb_wo_45.png\" /\u003e\n\u003c/a\u003e\n\n\n# Download\n\n\u003ca href='https://ko-fi.com/A160LCC' target='_blank'\u003e\u003cimg height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi1.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' /\u003e\u003c/a\u003e\n\n[ ![Download](https://api.bintray.com/packages/florent37/maven/viewtooltip/images/download.svg) ](https://bintray.com/florent37/maven/viewtooltip/_latestVersion)\n```java\ndependencies {\n    implementation 'com.github.florent37:viewtooltip:(last version)'\n}\n```\n\n# Methods\n\n[![screen](https://raw.githubusercontent.com/florent37/ViewTooltip/master/medias/autoHide.gif)](https://www.github.com/florent37/ViewTooltip)\n\n```java\nViewTooltip\n        .on(this, editText)\n        \n        .autoHide(true / false, 1000)\n        .clickToHide(true / false)\n        \n        .align(START / CENTER)\n        \n        .position(TOP / LEFT / RIGHT / BOTTOM)\n        \n        .text(\"The text\")\n        \n        .textColor(Color.WHITE)\n        .color(Color.BLACK)\n        \n        .corner(10)\n\n        .arrowWidth(15)\n        .arrowHeight(15)\n\n        .distanceWithView(0)\n        \n        //change the opening animation\n        .animation(new ViewTooltip.TooltipAnimation(){...})\n        \n        //listeners\n        .onDisplay(new ViewTooltip.ListenerDisplay() {\n            @Override\n            public void onDisplay(View view) {\n                \n            }\n        })\n        .onHide(new ViewTooltip.ListenerHide() {\n            @Override\n            public void onHide(View view) {\n                \n            }\n        })\n        .show();\n```\n\n# Prevent view to not be outside screen\n\nViewTooltip will not allow to be outside of screen,\nit will automatically adjust his size\n\n[![screen](https://raw.githubusercontent.com/florent37/ViewTooltip/master/medias/clip_screen_large.gif)](https://www.github.com/florent37/ViewTooltip)\n\n# History\n\n# 1.2.0\n- Compatible with AndroidX\n\n# 1.1.7\n- Set text as Int\n- Added shadowColor\n\n# 1.1.5\n- Use Fragment V4\n- Added aistanceWithView\n\n# 1.1.4\n- Added arrowWidth / arrowHeight\n\n## 1.1.3\n- Fix align bottom, text out of screen\n\n## 1.1.1\n- Added shadow\n\n## 1.0.8 \n- Clip tooltip to screen (top / bottom) \n- Text format HTML\n\n## 1.0.6 \n- Fix align \n\n## 1.0.5\n- .customView()\n- .remove()\n\n## 1.0.3\n- Clip tooltip to screen width\n\n## 1.0.2\n- Added corner\n\n# Credits   \n\nAuthor: Florent Champigny \n\nBlog : [http://www.tutos-android-france.com/](http://www.www.tutos-android-france.com/)\n\nFiches Plateau Moto : [https://www.fiches-plateau-moto.fr/](https://www.fiches-plateau-moto.fr/)\n\n\u003ca href=\"https://goo.gl/WXW8Dc\"\u003e\n  \u003cimg alt=\"Android app on Google Play\" src=\"https://developer.android.com/images/brand/en_app_rgb_wo_45.png\" /\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://plus.google.com/+florentchampigny\"\u003e\n  \u003cimg alt=\"Follow me on Google+\"\n       src=\"https://raw.githubusercontent.com/florent37/DaVinci/master/mobile/src/main/res/drawable-hdpi/gplus.png\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://twitter.com/florent_champ\"\u003e\n  \u003cimg alt=\"Follow me on Twitter\"\n       src=\"https://raw.githubusercontent.com/florent37/DaVinci/master/mobile/src/main/res/drawable-hdpi/twitter.png\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.linkedin.com/in/florentchampigny\"\u003e\n  \u003cimg alt=\"Follow me on LinkedIn\"\n       src=\"https://raw.githubusercontent.com/florent37/DaVinci/master/mobile/src/main/res/drawable-hdpi/linkedin.png\" /\u003e\n\u003c/a\u003e\n\n\n## Third Party Bindings\n\n### React Native\nYou may now use this library with [React Native](https://github.com/facebook/react-native) via the module [here](https://github.com/prscX/react-native-tooltips)\n\n\nLicense\n--------\n\n    Copyright 2017 Florent37, Inc.\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":["https://ko-fi.com/FlorentChampigny","https://github.com/sponsors/florent37","https://ko-fi.com/A160LCC'"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorent37%2Fviewtooltip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflorent37%2Fviewtooltip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflorent37%2Fviewtooltip/lists"}